Add OBJCOPY to the list of external tools
This commit is contained in:
parent
46d3ab7588
commit
481d7bbf62
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=272814
@ -315,7 +315,7 @@ X${COMPILER}?= ${CROSS_COMPILER_PREFIX}${${COMPILER}}
|
||||
X${COMPILER}?= ${${COMPILER}}
|
||||
.endif
|
||||
.endfor
|
||||
XBINUTILS= AS AR LD NM OBJDUMP RANLIB STRINGS
|
||||
XBINUTILS= AS AR LD NM OBJCOPY OBJDUMP RANLIB STRINGS
|
||||
.for BINUTIL in ${XBINUTILS}
|
||||
.if defined(CROSS_BINUTILS_PREFIX)
|
||||
X${BINUTIL}?= ${CROSS_BINUTILS_PREFIX}${${BINUTIL}}
|
||||
@ -326,7 +326,8 @@ X${BINUTIL}?= ${${BINUTIL}}
|
||||
WMAKEENV+= CC="${XCC} ${XFLAGS}" CXX="${XCXX} ${XFLAGS}" \
|
||||
CPP="${XCPP} ${XFLAGS}" \
|
||||
AS="${XAS}" AR="${XAR}" LD="${XLD}" NM=${XNM} \
|
||||
OBJDUMP=${XOBJDUMP} RANLIB=${XRANLIB} STRINGS=${XSTRINGS}
|
||||
OBJDUMP=${XOBJDUMP} OBJCOPY="${OBJCOPY}" \
|
||||
RANLIB=${XRANLIB} STRINGS=${XSTRINGS}
|
||||
|
||||
.if ${XCC:M/*}
|
||||
XFLAGS= --sysroot=${WORLDTMP}
|
||||
|
Loading…
Reference in New Issue
Block a user