summaryrefslogtreecommitdiffstats
path: root/rules/canutils.make
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2009-11-04 10:15:23 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2009-11-04 12:13:28 +0100
commitad3fb9b767b26c555f2467787d7abecd8819e0b6 (patch)
tree2600598a22005f29d471c16eee7aa7b0f68a3b49 /rules/canutils.make
parenta0d3e00dc955d2cd1c0866d352938bc4f06fb48c (diff)
downloadptxdist-ad3fb9b767b26c555f2467787d7abecd8819e0b6.tar.gz
ptxdist-ad3fb9b767b26c555f2467787d7abecd8819e0b6.tar.xz
[canutils] use KERNEL_HEADER_INCLUDE_DIR
Moreover it's save now to use the kernel header > 2.6.30, so remove this warning. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rules/canutils.make')
-rw-r--r--rules/canutils.make3
1 files changed, 1 insertions, 2 deletions
diff --git a/rules/canutils.make b/rules/canutils.make
index 0d481cc48..188c116cf 100644
--- a/rules/canutils.make
+++ b/rules/canutils.make
@@ -42,8 +42,7 @@ CANUTILS_PATH := PATH=$(CROSS_PATH)
CANUTILS_ENV := $(CROSS_ENV)
ifdef PTXCONF_CANUTILS_BSP_KERNEL
-# don't use := here
-CANUTILS_CPPFLAGS = CPPFLAGS="-I${KERNEL_DIR}/include $${CPPFLAGS}"
+CANUTILS_CPPFLAGS := CPPFLAGS="-I${KERNEL_HEADERS_INCLUDE_DIR} $${CPPFLAGS}"
endif
#