diff options
author | Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com> | 2016-10-18 23:22:32 +0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2016-10-18 12:02:20 -0700 |
commit | b7747142dc46c14ced422d992d38c612a54b765c (patch) | |
tree | 7a3e524e33aca40c095cff7751b5b9ee03718b38 /common/recipes-extended/zlib-qat/zlib-qat/zlib-qat-0.4.7-002-zlib-qat-add-a-install-target-to-makefile.patch | |
parent | 485f82ab71604173b698b55a8f4495b3741ce538 (diff) | |
download | meta-intel-b7747142dc46c14ced422d992d38c612a54b765c.tar.gz |
zlib-qat: move zlib-qat from meta-isg to common
Since there is plan to merge meta-isg layer to common meta-intel
layer. So relocate zlib-qat v0.4.7-002 recipe from meta-isg layer
to meta-intel/common layer.
Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'common/recipes-extended/zlib-qat/zlib-qat/zlib-qat-0.4.7-002-zlib-qat-add-a-install-target-to-makefile.patch')
-rw-r--r-- | common/recipes-extended/zlib-qat/zlib-qat/zlib-qat-0.4.7-002-zlib-qat-add-a-install-target-to-makefile.patch | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/common/recipes-extended/zlib-qat/zlib-qat/zlib-qat-0.4.7-002-zlib-qat-add-a-install-target-to-makefile.patch b/common/recipes-extended/zlib-qat/zlib-qat/zlib-qat-0.4.7-002-zlib-qat-add-a-install-target-to-makefile.patch new file mode 100644 index 00000000..c7aec55a --- /dev/null +++ b/common/recipes-extended/zlib-qat/zlib-qat/zlib-qat-0.4.7-002-zlib-qat-add-a-install-target-to-makefile.patch | |||
@@ -0,0 +1,46 @@ | |||
1 | From d78121d790c4a248bc47d1c662791fe57ac4af38 Mon Sep 17 00:00:00 2001 | ||
2 | From: Anuj Mittal <anujx.mittal@intel.com> | ||
3 | Date: Thu, 18 Jun 2015 11:53:23 +0800 | ||
4 | Subject: [PATCH] zlib-qat: add a install target to makefile | ||
5 | |||
6 | Upstream-Status: Inappropriate [Configuration] | ||
7 | |||
8 | This adds an install target to qat_zlib_test and qat_mem makefiles | ||
9 | to facilitate the installation of test binaries to {D}. | ||
10 | |||
11 | Signed-off-by: Anuj Mittal <anujx.mittal@intel.com> | ||
12 | --- | ||
13 | contrib/qat/qat_mem/Makefile | 3 +++ | ||
14 | contrib/qat/qat_zlib_test/Makefile | 3 +++ | ||
15 | 2 files changed, 6 insertions(+) | ||
16 | |||
17 | diff --git a/contrib/qat/qat_mem/Makefile b/contrib/qat/qat_mem/Makefile | ||
18 | index ad6d4a4..e4d77b6 100644 | ||
19 | --- a/contrib/qat/qat_mem/Makefile | ||
20 | +++ b/contrib/qat/qat_mem/Makefile | ||
21 | @@ -74,6 +74,9 @@ else | ||
22 | obj-m := $(MODULENAME).o | ||
23 | endif | ||
24 | |||
25 | +install: modules_install | ||
26 | + cp qat_mem_test $(INSTALL_MOD_PATH)$(bindir) | ||
27 | + | ||
28 | modules_install: | ||
29 | $(MAKE) -C $(KDIR) M=$(PWD) modules_install | ||
30 | |||
31 | diff --git a/contrib/qat/qat_zlib_test/Makefile b/contrib/qat/qat_zlib_test/Makefile | ||
32 | index ca31dd2..7da5ddd 100644 | ||
33 | --- a/contrib/qat/qat_zlib_test/Makefile | ||
34 | +++ b/contrib/qat/qat_zlib_test/Makefile | ||
35 | @@ -112,5 +112,8 @@ comptestappsh$(EXE): $(OBJS) Makefile | ||
36 | $(CC) -o comptestappsh $(OBJS) $(COVERAGE) \ | ||
37 | $(SHAREDLIBQAT) | ||
38 | |||
39 | +install: | ||
40 | + cp comptestapp $(DESTDIR)$(bindir) | ||
41 | + | ||
42 | clean: | ||
43 | rm -f $(OBJS) $(COVERAGE_OBJS) comptestapp comptestappsh | ||
44 | -- | ||
45 | 1.7.9.5 | ||
46 | |||