summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2014-12-18 13:07:49 +0100
committerStefan Agner <stefan.agner@toradex.com>2014-12-18 13:07:49 +0100
commit7e63e77803107805cae8c0ecce473ec819c05334 (patch)
tree43bbd83f77fe7e28ffa9ef89f7939b586e8b9984
parent908149098ed9d31d817c438e505ecdbf15f9f3db (diff)
mcc-pingpong: alter CFLAGS to use the actual kernel headers
To use the kernel interfaces required for mcc-pingpong we need the kernel headers of the actual kernel. Alter CFLAGS to add the kernel headers to the include path.
-rw-r--r--recipes-support/mcc-pingpong/mcc-pingpong_1.0.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-support/mcc-pingpong/mcc-pingpong_1.0.bb b/recipes-support/mcc-pingpong/mcc-pingpong_1.0.bb
index 6e86803..aac90f0 100644
--- a/recipes-support/mcc-pingpong/mcc-pingpong_1.0.bb
+++ b/recipes-support/mcc-pingpong/mcc-pingpong_1.0.bb
@@ -15,6 +15,8 @@ SRC_URI[sha256sum] = "ad25a15f34eb758b7896d327a28ef884e2ab04851cff42f059b32dc63e
S = "${WORKDIR}/mcc-pingpong-${PV}"
+CFLAGS += "-I${STAGING_KERNEL_DIR}/include"
+
DEPENDS = "libmcc"
do_install (){