From dcfd63ce736d22cb95ec90bfe62116e01b4d306d Mon Sep 17 00:00:00 2001 From: Rahul Kumar Gupta Date: Thu, 31 Mar 2016 02:55:10 +0800 Subject: meta-isg: qat16: fix v2.5.0 build with kernel v4.4 The qat recipe currently relies on EXTRA_OEMAKE having been set to "-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this explicit so that the default in bitbake.conf can be changed. The prototype of a func used in QAT16 is changed in kernel v4.4 Also, make sure that we point to the correct include path to the local headers. Signed-off-by: Rahul Kumar Gupta Signed-off-by: Saul Wold --- ...qat16_2.5.0-80-qat-Added-include-dir-path.patch | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 meta-isg/common/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-Added-include-dir-path.patch (limited to 'meta-isg/common/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-Added-include-dir-path.patch') diff --git a/meta-isg/common/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-Added-include-dir-path.patch b/meta-isg/common/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-Added-include-dir-path.patch new file mode 100644 index 00000000..a5389306 --- /dev/null +++ b/meta-isg/common/recipes-extended/qat/qat16/qat16_2.5.0-80-qat-Added-include-dir-path.patch @@ -0,0 +1,30 @@ +From 142bf81912701d94985ad656c2250650113d00de Mon Sep 17 00:00:00 2001 +From: Rahul Kumar Gupta +Date: Tue, 22 Mar 2016 01:44:09 +0800 +Subject: [PATCH 2/2] qat: Added include dir path + +Upstream-Status: Inappropriate [Configuration] + +Make sure that we point to the correct include path to the local +headers. + +Signed-off-by: Rahul Kumar Gupta +--- + quickassist/build_system/build_files/env_files/linux_2.6_user_space.mk | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/quickassist/build_system/build_files/env_files/linux_2.6_user_space.mk b/quickassist/build_system/build_files/env_files/linux_2.6_user_space.mk +index b504f7f..a75f152 100755 +--- a/quickassist/build_system/build_files/env_files/linux_2.6_user_space.mk ++++ b/quickassist/build_system/build_files/env_files/linux_2.6_user_space.mk +@@ -84,6 +84,7 @@ INCLUDES+=-I$(API_DIR) \ + + EXTRA_CFLAGS += $(cmd_line_cflags) + EXTRA_CFLAGS += -fno-strict-aliasing ++EXTRA_CFLAGS += $(INCLUDES) + EXTRA_LDFLAGS +=-whole-archive + + ifeq ($(ARCH), i386) +-- +1.9.1 + -- cgit v1.2.3-54-g00ecf