diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2014-12-18 13:07:49 +0100 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2014-12-18 13:07:49 +0100 |
commit | 777a3de815cf92be321e90e933b0d0644d133f16 (patch) | |
tree | fccbd9660aa6b421c1d12c326522d0e24451b0d3 /recipes-support | |
parent | bc6af299523f837705f01bb05cf4df3f6d42720a (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.
Diffstat (limited to 'recipes-support')
-rw-r--r-- | recipes-support/mcc-pingpong/mcc-pingpong_1.0.bb | 2 |
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 (){ |