From b6c9d76e184c219cca688ad309841084615e315d Mon Sep 17 00:00:00 2001 From: Rahul Kumar Gupta Date: Tue, 12 Apr 2016 18:22:35 +0800 Subject: meta-isg: qat16: update v2.3.0-34 -> v2.6.0-65 * Add recipe for qat16 v2.6.0-65 and retire qat16 v2.3.0-34 with respective patches * Use the version directly in SRC_URI instead of ${PV} since version of qatmux (v2.6.0-60) and qat16 (v2.6.0-65) are no longer same. * Added an install target to makefiles to help install ingredients at a proper path. * Ensure that compiler linker and archiver will override only when it is not defined by the environment. * Override the MACHINE name for do_install. Signed-off-by: Rahul Kumar Gupta Signed-off-by: Saul Wold --- ...rride-CC-LD-AR-only-when-it-is-not-define.patch | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 meta-isg/common/recipes-extended/qat/qat16/qat16_2.6.0-65-qat-override-CC-LD-AR-only-when-it-is-not-define.patch (limited to 'meta-isg/common/recipes-extended/qat/qat16/qat16_2.6.0-65-qat-override-CC-LD-AR-only-when-it-is-not-define.patch') diff --git a/meta-isg/common/recipes-extended/qat/qat16/qat16_2.6.0-65-qat-override-CC-LD-AR-only-when-it-is-not-define.patch b/meta-isg/common/recipes-extended/qat/qat16/qat16_2.6.0-65-qat-override-CC-LD-AR-only-when-it-is-not-define.patch new file mode 100644 index 00000000..21cdeaee --- /dev/null +++ b/meta-isg/common/recipes-extended/qat/qat16/qat16_2.6.0-65-qat-override-CC-LD-AR-only-when-it-is-not-define.patch @@ -0,0 +1,35 @@ +From b21929c42aca4bc80f6c48b5ac31bf20165b2f3e Mon Sep 17 00:00:00 2001 +From: Rahul Kumar Gupta +Date: Fri, 25 Mar 2016 18:02:37 +0800 +Subject: [PATCH] qat: override CC LD AR only when it is not define + +Upstream-Status: Inappropriate [Configuration] + +To make sure that compiler linker and archiver will override only when +it is not defined by the environment. + +Signed-off-by: Rahul Kumar Gupta +--- + quickassist/build_system/build_files/Core/ia.mk | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/quickassist/build_system/build_files/Core/ia.mk b/quickassist/build_system/build_files/Core/ia.mk +index 4a4d123..f9aca23 100755 +--- a/quickassist/build_system/build_files/Core/ia.mk ++++ b/quickassist/build_system/build_files/Core/ia.mk +@@ -67,9 +67,9 @@ + # e.g. setenv CROSS_COMPILE x86_64-linux + ifdef CROSS_COMPILE + ifdef MACHINE +-CC = $(CROSS_COMPILE)gcc +-LD = $(CROSS_COMPILE)ld +-AR = $(CROSS_COMPILE)ar ++CC ?= $(CROSS_COMPILE)gcc ++LD ?= $(CROSS_COMPILE)ld ++AR ?= $(CROSS_COMPILE)ar + else + $(error MACHINE is undefined. Please set your target i.e. x86_64 \ + "-> setenv MACHINE x86_64 or export MACHINE=x86_64") +-- +1.9.1 + -- cgit v1.2.3-54-g00ecf