Commit Graph

42 Commits

Author SHA1 Message Date
christos 6bf278a2a9 enable initfini-array since all platforms support it. 2021-05-07 23:00:04 +00:00
christos 1c5c771e20 rename libctf to libgnuctf 2020-04-04 01:34:53 +00:00
christos a5bd4ab452 Handle libctf new in binutils 2.34 2020-04-04 00:47:52 +00:00
christos a0fb52ee6d put the binutils include before /usr/include to get the right md5.h 2020-04-04 00:47:30 +00:00
christos dc83bc10dc explicitly disable initfini-array; we don't have it yet. 2018-12-27 16:26:52 +00:00
christos ea1b76a438 need global replace 2018-11-08 02:08:35 +00:00
christos 21c73e0dad Adjust for 2.31.1 2018-11-07 01:14:19 +00:00
christos bf7113376a Create a new bsd.hostinit.mk file and put the build definitions for all host
programs there; make all Makefiles that use bsd.hostprog.mk include it.
Namely turn off MKREPRO and don't make lint, man pages, info files etc.
Remove the Makefile.inc files that contained these same settings, and
remove the settings from Makefile.host
2018-05-01 19:59:42 +00:00
christos b2a8932dbe PR/53238: Robert Elz: Disable MKREPRO in tools; the host compiler might
not support the necessary options. This is done thusly:

1. Set MKREPRO=no in Makefile.host. This handles all the Makefiles that
   use it and don't include bsd.own.mk.
2. Create Makefile.inc and set MKREPRO=no in it. Change the Makefiles that
   include bsd.own.mk, to include bsd.init.mk which includes Makefile.inc
   first. This will also allow us to control other tools options from a
   single location if we need to.

XXX: pullup-8
2018-05-01 00:04:34 +00:00
mrg 203d3087cb pass -L in LDFLAGS. clang complains about it to stderr, and configure
checks for headers fail if there are unexpected stderr.
2016-10-11 03:57:00 +00:00
christos 22253bc332 use EXTERNAL_BINUTILS_SUBDIR 2016-01-26 17:47:35 +00:00
tsutsui 11b13dddf7 No need to specify ${.OBJDIR} for target files.
It rather fails if MKHOSTOBJ=yes.
2014-02-15 13:34:28 +00:00
joerg 1df17bf6cf For the tools build, always use the Bison-created m68 asm parser.
Fixes build on Linux, where the glibc guards trip up the
"must-be-included-first" check in config.h.
2014-01-29 23:35:13 +00:00
skrll 41c37f737d Grab enable_initfini_array from the ld Makefile 2013-10-01 15:41:17 +00:00
mrg 9ac63422b6 force set ac_cv_mkdir_path to our install -d program.
fixes the remaining issues with 'sourcesets' and 'tools'.
2012-04-15 08:37:32 +00:00
mrg c23dc553e9 obsolete now useless (and wrongly set to "219" :-) HAVE_BINUTILS.
switch the sense of the gdb and gcc tests to list the platforms not
switched to gcc 4.5 or gdb 7, which is now:

GCC 4.1:
.if ${MACHINE_ARCH} == "alpha"	|| \
    ${MACHINE_CPU}  == "arm"	|| \
    ${MACHINE_CPU}  == "m68k"	|| \
    ${MACHINE_CPU}  == "vax"

GDB 6:
.if ${MACHINE_ARCH} == "alpha"	|| \
    ${MACHINE_ARCH} == "hppa"	|| \
    ${MACHINE_CPU}  == "mips"	|| \
    ${MACHINE_CPU}  == "sh3"	|| \
    ${MACHINE_ARCH} == "vax"

let's go, people!  (-:
2011-10-31 08:14:43 +00:00
christos 544cd45c15 adjust for new gas Makefile 2011-09-25 04:00:58 +00:00
mrg b9477da802 add --disable-werror. GCC 4.6 doesn't like some of the code here and
rather than patching code to fix it (and one case isn't trivially fixable)
simply turn off -Werror by default here.  should fix PR#45140.
2011-08-04 02:38:41 +00:00
joerg 333ceea9fc Enable support for --sysroot in binutils and gcc. 2011-03-24 13:33:42 +00:00
skrll af515df4eb Pull in fixes from binutils_2_19 branch.
Bump version and re-run mknative to pick up.
2009-11-20 22:51:29 +00:00
skrll 1cb5794926 Collect the branding information. 2009-11-09 13:50:41 +00:00
skrll d92e258298 Update for new binutils location, etc. 2009-11-08 15:33:29 +00:00
skrll df133fffea Only brand newer binutils. 2009-10-14 07:30:47 +00:00
skrll 699c28bc09 Better branding from mrg 2009-10-12 08:00:41 +00:00
snj 823426b32c Adjust bug report URL to reflect htdocs changes. 2009-10-10 14:46:02 +00:00
skrll f92d679b89 Add some NetBSD branding to binutils. 2009-10-10 10:21:22 +00:00
skrll 6d622a3f1b Build binutils 2.19.1 if HAVE_BINUTILS is 219 2009-08-18 15:08:51 +00:00
uebayasi 0f2ad14fc7 target:
cmd1 && cmd2 && cmd3

|	|	|
v	v	v

target:
	cmd1
	cmd2
	cmd3

This makes the script (cmd1 && cmd2 && cmd3) slightly easier to debug.  No
functional change expected.
2007-11-19 05:54:03 +00:00
simonb a6a46a588a Allow for building a crosstools version of gprof.
Disabled by default, can be enabled with MKCROSSGPROF=yes.
2006-08-27 07:04:00 +00:00
skrll 1516e62216 Adapt native-binutils to new binutils. 2006-02-02 22:03:54 +00:00
skrll acdbc7bca2 Create MD libiberty files. 2006-02-02 20:06:04 +00:00
skrll c88f165c85 Revert previous.
We need to fix vax a different way as the move of -B${DESTDIR}/usr/lib/
to CFLAGS filters into the defs.mk files.
2005-01-14 07:46:56 +00:00
mrg 8887f2b7c4 for mknative, move -B from CC to CFLAGS, fixes vax configs 2004-12-12 12:42:35 +00:00
mrg d99893c4fd fix the sed expression that pulls VPATH out of the makefile to work
with any number of tabs or spaces after the equal sign.
2004-12-10 13:57:08 +00:00
mrg 952c497306 move libaries back to gnu/lib 2003-12-04 14:38:00 +00:00
mrg ce29aa2370 build lib{opcodes,bfd,iberty} back in gnu/lib instead of gnu/usr.bin/binutils
as they are needed earlier than when gnu/usr.bin/binutils is built when
"make -j" is used.
2003-12-04 09:29:31 +00:00
mrg b538519c6c fix a bug in previous:
don't pass -L${DESTDIR}/usr/lib twice, pass it once with -L${DESTDIR}/lib.
2003-12-01 09:37:09 +00:00
mrg ece8a60d7a move binutils lib{iberty,opcodes,bfd} to usr.bin/binutils. 2003-11-27 10:52:53 +00:00
mrg 0fcc88b5a2 all `tooldir/nbmake-$ARCH native-binutils' support, to regenerate binutils
configury files for the integrated toolchain.
2003-11-27 10:12:02 +00:00
lukem f85d2d1c14 Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00
cl 98f3b47a3f add gdb53 as a host tool for use as a crossgdb
replaces gdb50 from toolchain on archs which use gcc3
2003-10-26 01:06:27 +00:00
mrg 6c17918185 - build "binutils" and "gcc" separately if USE_TOOLS_TOOLCHAIN is not set
to "yes".
- adjust dbsym/mdsetimage to look in the correct place for libbfd.
- new mknative-gcc based in toolchain/mknative
2003-07-25 16:26:51 +00:00