mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-05 06:20:00 +02:00
Introduce KERNELDIR variable to allow override when invoking make on commandline.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user