Introduce KERNELDIR variable to allow override when invoking make on commandline.
parent
40edca27a2
commit
bbb3d7eb10
4
Makefile
4
Makefile
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue