Community
cancel
Showing results for 
Search instead for 
Did you mean: 
VVict3
Beginner
839 Views

makefile failed for intel edison

Jump to solution

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

Accepted Solutions
VVict3
Beginner
45 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
46 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