diff options
author | WU CHIA CHUAN <chia.chuan.wu@intel.com> | 2015-07-10 21:23:51 +0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2015-07-10 08:17:08 -0700 |
commit | b3f37c6f02ab2de7e78bcfb9ae1ce78cb11b208b (patch) | |
tree | d26b09e5a070ceae36e6b661b998186c03fed335 /meta-isg/common/recipes-extended/dpdk/dpdk/dpdk-1.8.0-and-2.0.0-add-sysroot-option-within-app-makefile.patch | |
parent | 97031827947b56dac4190970bf18376d3b55f323 (diff) | |
download | meta-intel-b3f37c6f02ab2de7e78bcfb9ae1ce78cb11b208b.tar.gz |
meta-isg: dpdk: renaming patches which are common to DPDK v1.8 and DPDK v2.0
For patches which are common to DPDK v1.8 and DPDK v2.0, they are renamed to
following file naming format for clarity dpdk-1.8.0-and-2.0.0*.patch.
Signed-off-by: WU CHIA CHUAN <chia.chuan.wu@intel.com>
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta-isg/common/recipes-extended/dpdk/dpdk/dpdk-1.8.0-and-2.0.0-add-sysroot-option-within-app-makefile.patch')
-rw-r--r-- | meta-isg/common/recipes-extended/dpdk/dpdk/dpdk-1.8.0-and-2.0.0-add-sysroot-option-within-app-makefile.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-isg/common/recipes-extended/dpdk/dpdk/dpdk-1.8.0-and-2.0.0-add-sysroot-option-within-app-makefile.patch b/meta-isg/common/recipes-extended/dpdk/dpdk/dpdk-1.8.0-and-2.0.0-add-sysroot-option-within-app-makefile.patch new file mode 100644 index 00000000..02c7dc3c --- /dev/null +++ b/meta-isg/common/recipes-extended/dpdk/dpdk/dpdk-1.8.0-and-2.0.0-add-sysroot-option-within-app-makefile.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 3112250f6452215890fc7db73c8127e111af956f Mon Sep 17 00:00:00 2001 | ||
2 | From: Ong Boon Leong <boon.leong.ong@intel.com> | ||
3 | Date: Thu, 2 Jul 2015 23:51:01 +0800 | ||
4 | Subject: [PATCH] dpdk v1.8.0: add --sysroot option within app makefile | ||
5 | |||
6 | Upstream-Status: Inappropriate [configuration] | ||
7 | |||
8 | in DPDK v1.8.0, rte.app.mk has been changed to add -Wl, to | ||
9 | all items listed under EXTRA_LDFLAGS. It causes --sysroot= | ||
10 | <path> to not setup correctly when we depends on gcc to setup | ||
11 | for GNU ld. | ||
12 | |||
13 | Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com> | ||
14 | --- | ||
15 | mk/rte.app.mk | 2 +- | ||
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/mk/rte.app.mk b/mk/rte.app.mk | ||
19 | index e1a0dbf..9528588 100644 | ||
20 | --- a/mk/rte.app.mk | ||
21 | +++ b/mk/rte.app.mk | ||
22 | @@ -259,7 +259,7 @@ ifeq ($(LINK_USING_CC),1) | ||
23 | override EXTRA_LDFLAGS := $(call linkerprefix,$(EXTRA_LDFLAGS)) | ||
24 | O_TO_EXE = $(CC) $(CFLAGS) $(LDFLAGS_$(@)) \ | ||
25 | -Wl,-Map=$(@).map,--cref -o $@ $(OBJS-y) $(call linkerprefix,$(LDFLAGS)) \ | ||
26 | - $(EXTRA_LDFLAGS) $(call linkerprefix,$(LDLIBS)) | ||
27 | + $(EXTRA_LDFLAGS) $(SYSROOTPATH) $(call linkerprefix,$(LDLIBS)) | ||
28 | else | ||
29 | O_TO_EXE = $(LD) $(LDFLAGS) $(LDFLAGS_$(@)) $(EXTRA_LDFLAGS) \ | ||
30 | -Map=$(@).map --cref -o $@ $(OBJS-y) $(LDLIBS) | ||
31 | -- | ||
32 | 1.7.9.5 | ||
33 | |||