diff options
author | venkatasubramanian pattu <venkatasubramanianx.pattu@intel.com> | 2015-07-06 19:43:10 +0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2015-07-06 07:29:43 -0700 |
commit | 9548412d526b65ba5eb96cf3a9d9da47a2caa3a0 (patch) | |
tree | 04898f47c3784571bcbe5043bbf798c5a27c8352 /meta-crystalforest/recipes-extended/qat/files | |
parent | a43871c39ae462647ebe58679b92cd34c8ae48a6 (diff) | |
download | meta-intel-9548412d526b65ba5eb96cf3a9d9da47a2caa3a0.tar.gz |
meta-crystalforest: Add include file for QAT
Added include file qat.inc to share common functionality based on
qat15_1.7.0-30 and qat16_2.2.0-30.
Signed-off-by: venkatasubramanian pattu <venkatasubramanianx.pattu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta-crystalforest/recipes-extended/qat/files')
-rw-r--r-- | meta-crystalforest/recipes-extended/qat/files/00-qat_qa.rules | 3 | ||||
-rw-r--r-- | meta-crystalforest/recipes-extended/qat/files/0001-Fix-for-cross-compilation-issue.patch | 44 |
2 files changed, 47 insertions, 0 deletions
diff --git a/meta-crystalforest/recipes-extended/qat/files/00-qat_qa.rules b/meta-crystalforest/recipes-extended/qat/files/00-qat_qa.rules new file mode 100644 index 00000000..7b5b60e6 --- /dev/null +++ b/meta-crystalforest/recipes-extended/qat/files/00-qat_qa.rules | |||
@@ -0,0 +1,3 @@ | |||
1 | KERNEL=="icp_adf_ctl" MODE="0600" | ||
2 | KERNEL=="icp_dev[0-9]*" MODE="0600" | ||
3 | KERNEL=="icp_dev_mem?" MODE="0600" | ||
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 | |||