Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9873 Discussions

makefile failed for intel edison

VVict3
Beginner
925 Views

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?

0 Kudos
1 Solution
VVict3
Beginner
131 Views

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.

View solution in original post

1 Reply
VVict3
Beginner
132 Views

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.

Reply