- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
I tried to write a Makefile for edison, but failed, the Makefile like this:
# Makefile#
obj-m += reverse.o
all:
make -C /lib/modules/$(shell uname -r)/build/ M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build/ M=$(PWD) clean
#
And then I tried to use "make", but the system told me that there was no "build" directory.
I then went to the $(shell uname -r) directory and found it did not has the "build" directory.
Why?How can I solve it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
I found the solution later today——what I needed was to get linux_header for my edison.
Follow the GUIDE, I solved the problem!
)">
This is very helpful for me, thanks to the GUIDE.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
I found the solution later today——what I needed was to get linux_header for my edison.
Follow the GUIDE, I solved the problem!
)">
This is very helpful for me, thanks to the GUIDE.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page