Introduce KERNELDIR variable to allow override when invoking make on commandline.

This commit is contained in:
Oliver Hartkopp
2009-09-10 08:01:00 +00:00
parent 40edca27a2
commit bbb3d7eb10
+3 -1
View File
@@ -40,9 +40,11 @@
# #
# Send feedback to <socketcan-users@lists.berlios.de> # Send feedback to <socketcan-users@lists.berlios.de>
KERNELDIR = ../kernel/2.6
MAKEFLAGS = -k MAKEFLAGS = -k
CFLAGS = -O2 -Wall -Wno-parentheses -I../kernel/2.6/include \ CFLAGS = -O2 -Wall -Wno-parentheses -I$(KERNELDIR)/include \
-fno-strict-aliasing \ -fno-strict-aliasing \
-DPF_CAN=29 \ -DPF_CAN=29 \
-DAF_CAN=PF_CAN -DAF_CAN=PF_CAN