gkaindl / rfm12b-linux

A Linux kernel SPI-driver for the RFM12B and RFM69CW RF modules by HopeRF
113 stars 46 forks source link

make: missing seperator #10

Closed Phunkafizer closed 9 years ago

Phunkafizer commented 9 years ago

Hi,

when I run make, I get

Makefile:25: *\ missing separator (did you mean TAB instead of 8 spaces?).

on a raspberry with raspbian. Any hints?

Regards Stefan

tharder90 commented 9 years ago

Hi, got the same issue and could just find a workaround.

To get it work check if the file /lib/modules/$(KVERSION)/build/include/generated/uapi/linux/version.h exists, if not, just comment out lines 25 & 26 if [ -f /lib/modules/$(KVERSION)/build/include/generated/uapi/linux/version.h ]; then \ INCLUDE += -I/lib/modules/$(KVERSION)/build/include/generated/uapi/

If it exists, comment out the lines from above and replace $(INCLUDE) in line 29 & 31 with -I/lib/modules/$(KVERSION)/build/include/generated/uapi/

Last one is not tested, the file didn´t exist in my case.

Hope I could help.

Wobbi

gkaindl commented 9 years ago

This is addressed in master now, so I'm closing this.