1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-19 15:33:56 +00:00

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:
John Birrell 1999-11-06 21:59:29 +00:00
parent e60947e1ad
commit 1009ce833e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52932
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