summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/binutils/libopcodes/Makefile
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1999-03-01 04:01:57 +0000
committerimp <imp@FreeBSD.org>1999-03-01 04:01:57 +0000
commit4697c1d0cccc83ba10c6c5e376db0f5033fd450e (patch)
tree920bc80647ff4c545a38c6c76a6a247bf622a902 /gnu/usr.bin/binutils/libopcodes/Makefile
parent57b9785287124e53b58a5857d114a7f340c6ba17 (diff)
downloadFreeBSD-src-4697c1d0cccc83ba10c6c5e376db0f5033fd450e.zip
FreeBSD-src-4697c1d0cccc83ba10c6c5e376db0f5033fd450e.tar.gz
Add TARGET_ARCH=mipsel and TARGET_ARCH=mipseb as a valid targets.
Unlike the unisex architecutres we've had so far, mips is bisexual. These tools can produce either byte sex, and the compiler/make determines the proper gender to use. Otherwise, we'd have to have had mipsel and mipseb in all the places that we have just mips. And there are other complications with doing that (binutils doesn't like to build mips tools without both byte genders, it seems). Introduced BINUTIL_ARCH so that other bisexual architectures can a generic mechanism. We cannot just define MACHINE_ARCH as mips because we need to differentiate big and little endian types of binaries. Discussions on freebsd-arch have hashed out this issue (and the parallel libc issues). NetBSD is moving towards mipsel and mipseb for their two flavors of mips ports (in time for 1.4, if this change hasn't already been accomplished). I've been building i386 worlds with this tree for a three months with these files in place with no ill effects.
Diffstat (limited to 'gnu/usr.bin/binutils/libopcodes/Makefile')
-rw-r--r--gnu/usr.bin/binutils/libopcodes/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/libopcodes/Makefile b/gnu/usr.bin/binutils/libopcodes/Makefile
index 410bb92..7e04646 100644
--- a/gnu/usr.bin/binutils/libopcodes/Makefile
+++ b/gnu/usr.bin/binutils/libopcodes/Makefile
@@ -1,5 +1,5 @@
#
-# $Id: Makefile,v 1.2 1998/03/12 02:55:32 jdp Exp $
+# $Id: Makefile,v 1.3 1998/03/12 05:14:19 jdp Exp $
#
.include "../Makefile.inc0"
@@ -8,7 +8,7 @@
LIB= opcodes
SRCS+= dis-buf.c disassemble.c
-CFLAGS+= -I${SRCDIR}/opcodes
+CFLAGS+= -I${SRCDIR}/opcodes -I${SRCDIR}/bfd
NOPROFILE= true
NOPIC= true
INTERNALLIB= true
OpenPOWER on IntegriCloud