Don't change the name when building a cross-tool. Just set the BINDIR
to /usr/libexec/cross/${MACHINE_ARCH}-freebsdelf.
This commit is contained in:
parent
d0eb5a23f2
commit
c6ea37bf95
@ -4,10 +4,10 @@
|
||||
|
||||
.include "${.CURDIR}/../Makefile.inc0"
|
||||
|
||||
.if ${MACHINE_ARCH} == "alpha"
|
||||
PROG= as
|
||||
.else
|
||||
PROG= as_alpha
|
||||
.if ${MACHINE_ARCH} != "alpha"
|
||||
NOMAN= 1
|
||||
BINDIR= /usr/libexec/cross/alpha-freebsdelf
|
||||
.endif
|
||||
SRCS+= obj-elf.c tc-alpha.c
|
||||
|
||||
|
@ -4,10 +4,10 @@
|
||||
|
||||
.include "${.CURDIR}/../Makefile.inc0"
|
||||
|
||||
.if ${MACHINE_ARCH} == "alpha"
|
||||
PROG= as
|
||||
.else
|
||||
PROG= as_alpha
|
||||
.if ${MACHINE_ARCH} != "alpha"
|
||||
NOMAN= 1
|
||||
BINDIR= /usr/libexec/cross/alpha-freebsdelf
|
||||
.endif
|
||||
SRCS+= obj-elf.c tc-alpha.c
|
||||
|
||||
|
@ -4,10 +4,10 @@
|
||||
|
||||
.include "${.CURDIR}/../Makefile.inc0"
|
||||
|
||||
.if ${MACHINE_ARCH} == "i386"
|
||||
PROG= as
|
||||
.else
|
||||
PROG= as_i386
|
||||
.if ${MACHINE_ARCH} != "i386"
|
||||
NOMAN= 1
|
||||
BINDIR= /usr/libexec/cross/i386-freebsdelf
|
||||
.endif
|
||||
SRCS+= obj-elf.c tc-i386.c
|
||||
|
||||
|
@ -4,10 +4,10 @@
|
||||
|
||||
.include "${.CURDIR}/../Makefile.inc0"
|
||||
|
||||
.if ${MACHINE_ARCH} == "i386"
|
||||
PROG= as
|
||||
.else
|
||||
PROG= as_i386
|
||||
.if ${MACHINE_ARCH} != "i386"
|
||||
NOMAN= 1
|
||||
BINDIR= /usr/libexec/cross/i386-freebsdelf
|
||||
.endif
|
||||
SRCS+= obj-elf.c tc-i386.c
|
||||
|
||||
|
@ -4,10 +4,10 @@
|
||||
|
||||
.include "${.CURDIR}/../Makefile.inc0"
|
||||
|
||||
.if ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb"
|
||||
PROG= as
|
||||
.else
|
||||
PROG= as_mips
|
||||
.if ${MACHINE_ARCH} != "mipsel" && ${MACHINE_ARCH} != "mipseb"
|
||||
NOMAN= 1
|
||||
BINDIR= /usr/libexec/cross/mips-freebsdelf
|
||||
.endif
|
||||
.if ${MACHINE_ARCH} == "mipsel"
|
||||
CFLAGS+= -DTARGET_BYTES_BIG_ENDIAN=0
|
||||
|
Loading…
Reference in New Issue
Block a user