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

pull/7/head
Oliver Hartkopp 2009-09-10 08:01:00 +00:00
parent 40edca27a2
commit bbb3d7eb10
1 changed files with 3 additions and 1 deletions

View File

@ -40,9 +40,11 @@
#
# Send feedback to <socketcan-users@lists.berlios.de>
KERNELDIR = ../kernel/2.6
MAKEFLAGS = -k
CFLAGS = -O2 -Wall -Wno-parentheses -I../kernel/2.6/include \
CFLAGS = -O2 -Wall -Wno-parentheses -I$(KERNELDIR)/include \
-fno-strict-aliasing \
-DPF_CAN=29 \
-DAF_CAN=PF_CAN