From 777a3de815cf92be321e90e933b0d0644d133f16 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Thu, 18 Dec 2014 13:07:49 +0100 Subject: 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. --- recipes-support/mcc-pingpong/mcc-pingpong_1.0.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes-support/mcc-pingpong') 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 (){ -- cgit v1.2.3