diff options
author | Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com> | 2016-10-18 23:22:30 +0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2016-10-18 12:02:17 -0700 |
commit | 485f82ab71604173b698b55a8f4495b3741ce538 (patch) | |
tree | de1754c490e503d6c8cb09d7c546c91ac22ba7f4 /common/recipes-extended/dpdk/dpdk/dpdk-16.07-dpdk-fix-installation-warning-and-issue.patch | |
parent | 6adafe510efbc9721f163adccbc7245e7751b730 (diff) | |
download | meta-intel-485f82ab71604173b698b55a8f4495b3741ce538.tar.gz |
dpdk: move dpdk from meta-isg to common
Since there is plan to merge meta-isg layer to common meta-intel
layer. So relocate dpdk v16.07 recipe from meta-isg layer to common
meta-intel 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/dpdk/dpdk/dpdk-16.07-dpdk-fix-installation-warning-and-issue.patch')
-rw-r--r-- | common/recipes-extended/dpdk/dpdk/dpdk-16.07-dpdk-fix-installation-warning-and-issue.patch | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/common/recipes-extended/dpdk/dpdk/dpdk-16.07-dpdk-fix-installation-warning-and-issue.patch b/common/recipes-extended/dpdk/dpdk/dpdk-16.07-dpdk-fix-installation-warning-and-issue.patch new file mode 100644 index 00000000..9fc30381 --- /dev/null +++ b/common/recipes-extended/dpdk/dpdk/dpdk-16.07-dpdk-fix-installation-warning-and-issue.patch | |||
@@ -0,0 +1,77 @@ | |||
1 | From 7af593cfca897a0f17d33aba95dd3e3d22a65444 Mon Sep 17 00:00:00 2001 | ||
2 | From: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com> | ||
3 | Date: Fri, 19 Aug 2016 11:50:46 +0800 | ||
4 | Subject: [PATCH] dpdk: fix installation warning and issue | ||
5 | |||
6 | Upstream-Status: Inappropriate [configuration] | ||
7 | |||
8 | Ensure that all compiled libs should be installed to correct location. | ||
9 | For cross compiling cp -r and extra tar flags used to avoid QA warning | ||
10 | [host-user-contaminated]. | ||
11 | Added excluded files from bin and removing mk and app/dpdk-pmdinfogen files | ||
12 | installation since it is not needed as a part of image. | ||
13 | |||
14 | Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com> | ||
15 | --- | ||
16 | mk/rte.sdkinstall.mk | 25 ++++++++++--------------- | ||
17 | 1 file changed, 10 insertions(+), 15 deletions(-) | ||
18 | |||
19 | diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk | ||
20 | index 5217063..7036a32 100644 | ||
21 | --- a/mk/rte.sdkinstall.mk | ||
22 | +++ b/mk/rte.sdkinstall.mk | ||
23 | @@ -114,16 +114,13 @@ endif | ||
24 | |||
25 | install-runtime: | ||
26 | $(Q)$(call rte_mkdir, $(DESTDIR)$(libdir)) | ||
27 | - $(Q)cp -a $O/lib/* $(DESTDIR)$(libdir) | ||
28 | + $(Q)cp -r $O/lib/* $(DESTDIR)$(libdir) | ||
29 | $(Q)$(call rte_mkdir, $(DESTDIR)$(bindir)) | ||
30 | - $(Q)tar -cf - -C $O --exclude 'app/*.map' \ | ||
31 | - --exclude app/dpdk-pmdinfogen \ | ||
32 | - --exclude 'app/cmdline*' --exclude app/test \ | ||
33 | - --exclude app/testacl --exclude app/testpipeline app | \ | ||
34 | - tar -xf - -C $(DESTDIR)$(bindir) --strip-components=1 \ | ||
35 | - --keep-newer-files --warning=no-ignore-newer | ||
36 | + $(Q)tar -cf - -C $O --exclude app/dpdk-pmdinfogen app | \ | ||
37 | + tar -xf - -C $(DESTDIR)$(bindir) --no-same-owner --no-same-permissions \ | ||
38 | + --strip-components=1 --keep-newer-files --warning=no-ignore-newer | ||
39 | $(Q)$(call rte_mkdir, $(DESTDIR)$(datadir)) | ||
40 | - $(Q)cp -a $(RTE_SDK)/tools $(DESTDIR)$(datadir) | ||
41 | + $(Q)cp -r $(RTE_SDK)/tools $(DESTDIR)$(datadir) | ||
42 | $(Q)$(call rte_symlink, $(DESTDIR)$(datadir)/tools/dpdk-setup.sh, \ | ||
43 | $(DESTDIR)$(datadir)/tools/setup.sh) | ||
44 | $(Q)$(call rte_symlink, $(DESTDIR)$(datadir)/tools/dpdk-devbind.py, \ | ||
45 | @@ -137,7 +134,7 @@ install-runtime: | ||
46 | install-kmod: | ||
47 | ifneq ($(wildcard $O/kmod/*),) | ||
48 | $(Q)$(call rte_mkdir, $(DESTDIR)$(kerneldir)) | ||
49 | - $(Q)cp -a $O/kmod/* $(DESTDIR)$(kerneldir) | ||
50 | + $(Q)cp -r $O/kmod/* $(DESTDIR)$(kerneldir) | ||
51 | endif | ||
52 | |||
53 | install-sdk: | ||
54 | @@ -146,11 +143,9 @@ install-sdk: | ||
55 | tar -xf - -C $(DESTDIR)$(includedir) --strip-components=1 \ | ||
56 | --keep-newer-files --warning=no-ignore-newer | ||
57 | $(Q)$(call rte_mkdir, $(DESTDIR)$(sdkdir)) | ||
58 | - $(Q)cp -a $(RTE_SDK)/mk $(DESTDIR)$(sdkdir) | ||
59 | - $(Q)cp -a $(RTE_SDK)/scripts $(DESTDIR)$(sdkdir) | ||
60 | - $(Q)$(call rte_mkdir, $(DESTDIR)$(targetdir)/app) | ||
61 | - $(Q)cp -a $O/.config $(DESTDIR)$(targetdir) | ||
62 | - $(Q)cp -a $O/app/dpdk-pmdinfogen $(DESTDIR)$(targetdir)/app | ||
63 | + $(Q)cp -r $(RTE_SDK)/scripts $(DESTDIR)$(sdkdir) | ||
64 | + $(Q)$(call rte_mkdir, $(DESTDIR)$(targetdir)) | ||
65 | + $(Q)cp -r $O/.config $(DESTDIR)$(targetdir) | ||
66 | $(Q)$(call rte_symlink, $(DESTDIR)$(includedir), $(DESTDIR)$(targetdir)/include) | ||
67 | $(Q)$(call rte_symlink, $(DESTDIR)$(libdir), $(DESTDIR)$(targetdir)/lib) | ||
68 | |||
69 | @@ -166,4 +161,4 @@ ifneq ($(wildcard $O/doc/*/*/*pdf),) | ||
70 | $(Q)cp -a $O/doc/*/*/*pdf $(DESTDIR)$(docdir)/guides | ||
71 | endif | ||
72 | $(Q)$(call rte_mkdir, $(DESTDIR)$(datadir)) | ||
73 | - $(Q)cp -a $(RTE_SDK)/examples $(DESTDIR)$(datadir) | ||
74 | + $(Q)cp -r $(RTE_SDK)/examples $(DESTDIR)$(datadir) | ||
75 | -- | ||
76 | 1.9.1 | ||
77 | |||