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:
jb 1999-11-06 21:59:29 +00:00
parent d0eb5a23f2
commit c6ea37bf95
5 changed files with 15 additions and 15 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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