[dpdk-dev] mk: define objcopy target and arch on IBM POWER

Message ID 1465990722-28450-1-git-send-email-chaozhu@linux.vnet.ibm.com (mailing list archive)
State Accepted, archived
Headers

Commit Message

Chao Zhu June 15, 2016, 11:38 a.m. UTC
  This patch defines the target and arch value of objcopy program for
IBM POWER PPC64 little endian architecture. This is a fix of the
original patch proposed by Jan Viktorin <viktorin@rehivetech.com>.

Signed-off-by: Chao Zhu <chaozhu@linux.vnet.ibm.com>
---
 mk/arch/ppc_64/rte.vars.mk |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
  

Comments

Thomas Monjalon June 15, 2016, 1:14 p.m. UTC | #1
2016-06-15 19:38, Chao Zhu:
> This patch defines the target and arch value of objcopy program for
> IBM POWER PPC64 little endian architecture. This is a fix of the
> original patch proposed by Jan Viktorin <viktorin@rehivetech.com>.
> 
> Signed-off-by: Chao Zhu <chaozhu@linux.vnet.ibm.com>

Fixes: 99d6231fdca7 ("mk: define objcopy-specific target and arch")

Applied, thanks
  

Patch

diff --git a/mk/arch/ppc_64/rte.vars.mk b/mk/arch/ppc_64/rte.vars.mk
index 363fcd1..ef3ba1d 100644
--- a/mk/arch/ppc_64/rte.vars.mk
+++ b/mk/arch/ppc_64/rte.vars.mk
@@ -37,3 +37,8 @@  CPU_LDFLAGS ?=
 CPU_ASFLAGS ?= -felf64
 
 export ARCH CROSS CPU_CFLAGS CPU_LDFLAGS CPU_ASFLAGS
+
+RTE_OBJCOPY_TARGET = elf64-powerpcle
+RTE_OBJCOPY_ARCH = powerpc:common64
+
+export RTE_OBJCOPY_TARGET RTE_OBJCOPY_ARCH