Commit Graph

95 Commits

Author SHA1 Message Date
christos aa614dac23 Don't barf if USE_GCC4 is not defined. 2006-04-01 20:21:30 +00:00
jmc 67840cd950 Turn on gmake builds if GCC4 is enabled (and force it's install before continuing 2006-03-29 21:10:52 +00:00
dsl e94b2828f0 The realall and realdepend bit that regenerates tools needs to be marked
.MAKE otherwise the 'make' it runs has its own list of jobs instead of
using the jobserver of the enclosing make.
2006-02-03 22:07:57 +00:00
jmc 2ae0c61239 Make the tools using Makefile.disklabel wait so they don't stomp each other.
Also for now add a dependency to Makefile.disklabel so this doesn't run
3 times. (XXX this really should just be done differently)
2005-10-04 04:27:32 +00:00
dyoung 7f67833ef1 .include Makefile.disklabel in installboot, so that the
nbinclude/ header files will be installed.  Build installboot after
pax, since Makefile.disklabel uses pax to install the headers.
2005-06-12 20:24:14 +00:00
dyoung a37289db57 Make disklabel(8) and fdisk(8) into "host tools " last step: build
and install ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-disklabel,
${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-fdisk by "reaching over" to
the sources in ${NETBSDSRCDIR}/sbin/{disklabel fdisk}/.

To avoid clashes with a build-host's header files, especially on
*BSD, the host-tools versions of fdisk and disklabel search for
#includes such as disklabel.h, disklabel_acorn.h, disklabel_gpt.h,
and bootinfo.h in a new #includes namespace, nbinclude/.  That is,
they #include <nbinclude/sys/disklabel.h>, <nbinclude/machine/disklabel.h>,
<nbinclude/sparc64/disklabel.h>, instead of <sys/disklabel.h> and
such.  I have also updated the system headers to #include from
nbinclude/-space when HAVE_NBTOOL_CONFIG_H is #defined.
2005-06-12 19:46:15 +00:00
thorpej 62294d00e3 Build genassym as a host tool. Part of PR toolchain/30350 2005-05-30 15:51:36 +00:00
is d781105e1d We don't need aout2bb any longer. 2005-01-27 12:54:05 +00:00
mycroft 963654140b Add some quotes to prevent a syntax error. 2005-01-09 03:48:30 +00:00
jmc 9bfe9b9970 Convert mkboot into a full cross tool. Last hurdle for hp300 to building on
non NetBSD/bsd hosts.
2004-11-28 11:14:41 +00:00
jmc c7464d49db Convert remaining host tools for amiga to correct cross tools. Now allows
complete amiga builds on non netbsd/bsd hosts
2004-11-28 07:00:52 +00:00
jmc 9a999c376a Convert bebox's remaining host tools over to cross tools scheme. Builds to sets
w/o error now.
2004-11-25 08:09:14 +00:00
skrll bc26aea7ac Build hp700's mkboot as a host tool called nbhp700-mkboot. mkboot also
gets built and installed in a hp700 distribution.

TODO

- merge with hp300

- pick a preferred method for dealing with the elf headers.
  hp700-mkboot and prep-mkbootimage (bintuils) vs mips-elf2ecoff and
  tools/installboot
2004-07-28 09:17:31 +00:00
abs ef4ecdda5b Add sparkcrc (used to generate checksums for acorn32 bootloader sparkive)
as a host tool.
2004-06-08 21:44:46 +00:00
lukem 986979b8c9 Consistently check ${TOOLCHAIN_MISSING} against "no". 2004-01-03 14:04:27 +00:00
matt d672abfa9e Fix typo. 2003-12-11 14:52:46 +00:00
matt ca1e0d5980 Add macppc-fixcoff tool. 2003-12-11 00:29:33 +00:00
lukem 219ba062f8 Use (cd ${.CURDIR} && ${MAKE} cleandir) instead of ${MAKE} cleandir
Suggested by Ross Harvey.
2003-12-10 05:19:41 +00:00
mrg 949cd54d3a always build tools/binutils now. 2003-12-04 10:08:58 +00:00
sekiya 0ac350820d Build sgivol as a host tool when compiling for sgimips. 2003-11-08 05:02:33 +00:00
lukem af258d4e7c add mknod as a host tool 2003-10-27 00:35:37 +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
lukem 130ab7336b Rework how MAKEVERBOSE operates:
*	Don't bother prefixing commands with a line of  ${_MKCMD}\
	and instead rely upon "make -s".  This is less intrusive on
	all the Makefiles than the former.  Idea from David Laight.

    *	Rename the variables use to print messages.  The scheme now is:
	    _MKMSG_FOO		Run  _MKMSG 'foo'
	    _MKTARGET_FOO	Run  _MKMSG_FOO ${.TARGET}
	From discussion with Alistair Crooks.
2003-10-21 10:01:19 +00:00
matt 10c0014b94 Add host tool version of ncdcs 2003-10-19 03:35:30 +00:00
lukem 2c30246862 MAKEVERBOSE support 2003-10-18 16:33:58 +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
tron 78da845d49 Add missing "cleandir" rule. 2003-07-24 13:00:52 +00:00
lukem fe7ef256ea add stat(1) as a host tool 2003-07-20 14:06:32 +00:00
lukem 355436d550 also do the MKTOOLS and PREVIOUSTOOLDIR checks for "realdepend" 2003-07-16 13:13:42 +00:00
lukem 3fd7f6db4c * If a `PREVIOUSTOOLDIR' file doesn't exist, or its contents are not
the same as "$TOOLDIR", run "make cleandir" here first.
  This should prevent various problems where $TOOLDIR is encoded into the
  build process for various tools (lint, groff, texinfo, toolchain),
  $TOOLDIR changes, and various programs don't get rebuilt correctly.
  Should fix PR [toolchain/21988].

* Clean up how the `${MKTOOLS} == no' check is performed.

* Remove "cleantools"; it made a big assumption about the location of
  TOOLDIR that won't be correct in many cases.
2003-07-16 12:57:57 +00:00
tshiozak e376aa8308 Citrus iconv support(3)
add host tools : mkcsmapper and mkesdb
  mkcsmapper - coded character set mapping table compiler
  mkesdb - encoding scheme database compiler
2003-06-26 06:30:07 +00:00
lukem fc80f6c55f Add db(1) as a host tool 2003-05-18 08:05:32 +00:00
pooka 8daae68793 build file(1) as a host tool (for compiling magic files) 2003-03-25 23:43:49 +00:00
thorpej ae754e0c76 Make hexdump a host tool. 2003-03-07 01:14:30 +00:00
lukem eb77ade624 enable sunlabel... 2002-12-21 12:56:08 +00:00
thorpej 771b8c8404 Change the TOOLCHAIN_MISSING from == "no" to != "yes", to be consistent
with the other tests of this variable.
2002-09-19 17:13:01 +00:00
matt 5e29f1c268 Since TOOLCHAIN_MISSING is defined in bsd.own.mk, it can never be undefined.
Instead, make sure the value of it is "no"
2002-09-19 01:23:24 +00:00
thorpej 3b08abd277 * Eliminate the USE_NEW_TOOLCHAIN variable. Instead, split it into
two variables:

  TOOLCHAIN_MISSING -- set to "yes" on platforms for which there is
  no working in-tree toolchain (hppa, ns32k, sh5, x86_64).

  EXTERNAL_TOOLCHAIN -- if defined by the user, points to the root of
  an external toolchain (e.g. /usr/local/gnu).  This enables the cross-build
  framework even for TOOLCHAIN_MISSING platforms.

  If TOOLCHAIN_MISSING is set to "yes", MKGDB, MKBFD, and MKGCC are all
  unconditionally set to "no", since the bits are not there to build.

  If EXTERNAL_TOOLCHAIN is set, MKGCC is unconditionally set to "no",
  since the external toolchain's compiler is not in-sync with the
  in-tree compiler support components (e.g. libgcc).

* Set MACHINE_CPU much earlier in bsd.own.mk, so that more tests in
  that file can use it.
2002-09-17 23:18:25 +00:00
chris 41f1477926 We need binstall to be installed, before attempting to use it to install mktemp. 2002-09-14 23:34:16 +00:00
thorpej dc71a69c6a Descend into mktemp. 2002-09-14 18:00:22 +00:00
veego bd46e08c93 The last commit wasn't tested. Add a missing \ 2002-06-12 19:59:55 +00:00
thorpej fe57329435 Don't build toolchain bits for hppa, for now. 2002-06-12 19:09:37 +00:00
mason 7e7e806c7e Add cat(1) as a host tool. 2002-06-10 18:32:28 +00:00
thorpej 1f5f295af6 Don't try to build toolchain bits for ns32k. 2002-06-05 02:21:49 +00:00
bjh21 bf9ec67e38 Add fgen as a host tool, used for sys/arch/sparc/bootblk. 2002-05-28 21:56:05 +00:00
lukem 3e591f18cf gratuitious comment addition 2002-05-18 05:59:23 +00:00
lukem 2bd907065c remove now-unnecessary sparc-installboot 2002-05-07 12:12:53 +00:00
kleink c30b41cae0 On prep, descend into prep-mkbootimage. 2002-05-03 20:35:46 +00:00
bjh21 bcb3d0b705 vax-installboot has been deleted, so don't recurse into it. 2002-04-06 13:33:46 +00:00
lukem 138523b976 enable installboot 2002-04-03 06:03:35 +00:00