summaryrefslogtreecommitdiff
path: root/software/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'software/Makefile')
-rw-r--r--software/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/software/Makefile b/software/Makefile
index 5e6661f..e3e32e5 100644
--- a/software/Makefile
+++ b/software/Makefile
@@ -1,4 +1,4 @@
-CFLAGS=-V3.4 -ffunction-sections -Iinclude -Ioctdeviceapi -Ioctdeviceapi/oct6100api -DGFP_ATOMIC=0 -Dkmalloc=calloc -Dkfree=free
+CFLAGS=-V3.4 -ffunction-sections -I/lib/modules/$(shell uname -r)/build/include -Iinclude -Ioctdeviceapi -Ioctdeviceapi/oct6100api -DGFP_ATOMIC=0 -Dkmalloc=calloc -Dkfree=free
LDFLAGS=-V3.4 -Wl,-Map -Wl,test.map -Wl,--gc-sections
APIDIR=octdeviceapi/oct6100api/oct6100_api