diff options
Diffstat (limited to 'meta-crystalforest/recipes-extended/qat/files/0001-Fix-for-cross-compilation-issue.patch')
-rw-r--r-- | meta-crystalforest/recipes-extended/qat/files/0001-Fix-for-cross-compilation-issue.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/meta-crystalforest/recipes-extended/qat/files/0001-Fix-for-cross-compilation-issue.patch b/meta-crystalforest/recipes-extended/qat/files/0001-Fix-for-cross-compilation-issue.patch new file mode 100644 index 00000000..6a88b9b3 --- /dev/null +++ b/meta-crystalforest/recipes-extended/qat/files/0001-Fix-for-cross-compilation-issue.patch | |||
@@ -0,0 +1,44 @@ | |||
1 | From 4b82cbb94e96d0bc982e98149ce971d886c7a937 Mon Sep 17 00:00:00 2001 | ||
2 | From: venkatasubramanian pattu <venkatasubramanianx.pattu@intel.com> | ||
3 | Date: Mon, 6 Jul 2015 15:57:20 +0800 | ||
4 | Subject: [PATCH] Fix for cross-compilation issue | ||
5 | |||
6 | This patch is used to fix the cross compilation issue. | ||
7 | |||
8 | When compiling the stateless_multi_op_checksum_sample by default it takes | ||
9 | the gcc compiler from host machine. Since we are working on the yocto recipe | ||
10 | implementation we changed the path of the compiler from default gcc | ||
11 | to cross-compiler. | ||
12 | |||
13 | Upstream Status: Inappropriate | ||
14 | |||
15 | Signed-off-by: venkatasubramanian pattu <venkatasubramanianx.pattu@intel.com> | ||
16 | --- | ||
17 | .../functional/dc/stateless_multi_op_checksum_sample/Makefile | 4 ++-- | ||
18 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
19 | |||
20 | diff --git a/quickassist/lookaside/access_layer/src/sample_code/functional/dc/stateless_multi_op_checksum_sample/Makefile b/quickassist/lookaside/access_layer/src/sample_code/functional/dc/stateless_multi_op_checksum_sample/Makefile | ||
21 | index c5cb7bb..c69ce08 100644 | ||
22 | --- a/quickassist/lookaside/access_layer/src/sample_code/functional/dc/stateless_multi_op_checksum_sample/Makefile | ||
23 | +++ b/quickassist/lookaside/access_layer/src/sample_code/functional/dc/stateless_multi_op_checksum_sample/Makefile | ||
24 | @@ -98,7 +98,7 @@ else | ||
25 | ADDITIONAL_OBJECTS += $(ICP_BUILD_OUTPUT)/libicp_qa_al_s.so | ||
26 | endif | ||
27 | |||
28 | -ADDITIONAL_OBJECTS += -L/usr/Lib -lpthread -lcrypto | ||
29 | +ADDITIONAL_OBJECTS += -lpthread -lcrypto | ||
30 | |||
31 | USER_SOURCE_FILES = ../../common/cpa_sample_utils.c cpa_dc_stateless_multi_op_checksum_sample.c | ||
32 | USER_SOURCE_FILES += ../../../performance/qae/linux/user_space/qae_mem_utils.c | ||
33 | @@ -108,7 +108,7 @@ USER_INCLUDES= $(INCLUDES) | ||
34 | USER_INCLUDES+= -I../../../performance/qae/ | ||
35 | |||
36 | default: clean | ||
37 | - gcc -Wall -O1 $(USER_INCLUDES) -DUSER_SPACE \ | ||
38 | + $(CC) -Wall -O1 $(USER_INCLUDES) -DUSER_SPACE \ | ||
39 | $(USER_SOURCE_FILES) $(ADDITIONAL_OBJECTS) -o $(OUTPUT_NAME) | ||
40 | |||
41 | clean: | ||
42 | -- | ||
43 | 1.9.1 | ||
44 | |||