Commit Graph

495 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
jmc c9e6fd9591 Add support for installing gmake as tools/bin/nbgmake 2006-03-29 21:10:26 +00:00
dogcow 79548d7aef Twiddle configure/configure.ac to check/define/create machine/endian.h; this
should fix PR/32878. Tested on NetBSD-current, FreeBSD4, Solaris8.
2006-02-22 00:14:05 +00:00
tv 0eddda9bff I haven't touched the mknative stuff since 2002. Take my name off of the
readmes, so I'm not implied as a point of contact.
2006-02-17 17:34:30 +00:00
dyoung 9151f942f8 Two changes to facilitate building tools on Darwin:
1. #undef d_fileno, which is set by Darwin's <dirent.h>,
           and which clashes with d_fileno in NetBSD headers.

        2. Install the sys/ufs/ header files in nbinclude/ in order
           to override Darwin's own, incompatible header files.
2006-02-14 04:59:33 +00:00
dyoung b3b0356bf5 For the i386 and amd64 cross-toolset, build fdisk with -DBOOTSEL,
for a more full-featured cross-tool.
2006-02-14 04:49:50 +00:00
wiz 9d363dc8b0 regen 2006-02-11 10:35:43 +00:00
wiz dd7c0d224c Redo previous differently: use AH_TOP and AH_BOTTOM macros to insert
header and footer into nbtool_config.h.in directly.
2006-02-11 10:35:29 +00:00
wiz d65d538b21 regen 2006-02-11 01:28:17 +00:00
wiz a21971be10 Make using autoheader easier:
split off the autogenerated file into nbtool_config_internal.h,
and let nbtool_config.h be a file with the proper wrappers.

This way you can just change configure.ac, run autoconf and autoheader,
verify the result, and commit, but don't have to edit nbtool_config*in
manually every time.
2006-02-11 01:28:01 +00:00
wiz 6d1f07f471 Define prototypes for strsuftoll and strsuftollx if the one for
strsuftoll was not found by configure. Second part of nbmakefs build
on 3.0.
2006-02-11 00:56:08 +00:00
wiz 4591238e8a rerun autoheader (and re-add header and footer). 2006-02-11 00:55:17 +00:00
wiz 625ce9525f regen. 2006-02-11 00:54:50 +00:00
wiz dc5360a0d6 Add AC_CHECK_DECLS test for strsuftoll. hannken reports it is needed
for building nbmakefs on 3.0/i386.
2006-02-11 00:54:35 +00:00
wiz 90c00efe34 Adapt for bswap* changes in configure.ac. 2006-02-10 07:07:20 +00:00
wiz 264739a1aa regen with autoheader; header and footer need to be added manually,
add a comment saying so.
2006-02-09 22:28:06 +00:00
wiz 1ec2d20625 regen. 2006-02-09 22:26:51 +00:00
wiz 6ad9de8b94 Use the AC_DEFINE version with three arguments consistently, since
then autoheader works too.
Replace the remaining abusers of AC_CHECK_FUNCS with AC_CHECK_DECLS
too.
2006-02-09 22:26:06 +00:00
dogcow 86811edb37 change #include <sys/endian.h> => #include <machine/endian.h> so that
it's (more) consistent in the tree; this, along with changing tools/compat's
autoconf detection from AC_CHECK_FUNCS to AC_CHECK_DECLS makes the vast
majority of htobe16 and friends' redefinition errors bite the dust.
Tested with -current and FreeBSD.
2006-02-09 22:03:15 +00:00
tron df69ed2b70 Disable X11 support in toolchain "groff" build to stop it from trying
to install files to "/usr/X11R6". Patch supplied by Thomas Klausner on
current-users mailing list.
2006-02-06 23:48:35 +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
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
dbj c03e27f52f regen 2006-02-02 04:15:16 +00:00
dbj a3ecf0b346 touch an empty sys/bswap.h if detected as missing by configure
this fixes cross compile problems from recent changes to
convert machine/bswap.h to sys/bswap.h
2006-02-02 04:15:03 +00:00
tsutsui dc96fb0473 Add a tweak for ews4800mips/include/disklabel.h,
which includes some other md headers.
2005-12-29 15:35:19 +00:00
christos 7dfafee4b6 Search the new common framework. 2005-12-20 20:39:15 +00:00
martin 417e934595 We use gcc's crtstuff now - update this acordingly (thanks to
Nick Hudson for instructions)
2005-10-29 20:43:35 +00:00
jmc 70200ecd34 Fix previous commit. Broken logic 2005-10-04 04:56:19 +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
elad 345a69e003 Move rmd160.h to crypto/ to keep in sync with recent changes.
Noted by xtraeme@.
2005-09-24 21:58:36 +00:00
elad 3fcecfe373 Sync with recent MD2 changes. 2005-09-24 20:52:22 +00:00
elad efa664c42a Sync with recent changes. 2005-09-24 19:06:20 +00:00
tron 41bb2c9889 Make cross compiling NetBSD under Linux work again. Problem noted by
R. Huvendiek on "current-users" mailing list.
2005-09-14 14:06:11 +00:00
christos d69a9593f3 We don't need any ndbm sources. 2005-09-13 15:32:48 +00:00
christos 25f2b410ca don't use the _foo.c files; all the code is in foo.c now. 2005-09-13 13:52:23 +00:00
christos 478e2d98de compat reorg. 2005-09-13 02:30:23 +00:00
jwise c21f37fb93 On second thought, we can't just pass through -isystem-cxx, we have to
change it to -isystem.  With this change, I can now make depend a simple c++
stl-using host program.
2005-09-01 21:51:11 +00:00
jwise 97ec3a6bc9 Recognize -isystem-cxx as well as -isystem, making this more usable for c++
host progs.
2005-09-01 21:17:31 +00:00
uwe b0e7a6ada3 UINT8_MAX and UINT16_MAX are needed for disklabel. 2005-08-27 22:08:58 +00:00
elad 8eac896be6 Pull in SHA2 routines from libc to nbcompat. 2005-08-26 15:59:00 +00:00
elad 994154b2ab Add nbcompat SHA2 header. 2005-08-26 15:57:17 +00:00
elad 3879a20289 Tools can't use SHA2. Noted by Geoff Wing. 2005-08-26 03:19:14 +00:00
tron ff5245dd05 Define "_PATH_VI" if necessary to make cross-building work again under
Solaris (and potentially other platforms) after "disklabel" has been
added to the hosts tools.
2005-08-22 15:27:11 +00:00
christos c4ee9f6d2e 64 bit inode changes 2005-08-19 02:07:18 +00:00
he 0ec45ddeab Fix the toolification of disklabel by using the nbinclude namespace
under HAVE_NBTOOL_CONFIG_H for disktab.h as well.  This means
disktab.h has to be installed in the nbinclude include directory.

(Failure mode: with TOOLDIR as a subdirectory of /usr, the host's disktab.h
got picked up, and not the in-tree copy.)

Reviewed by dyoung.
2005-06-22 21:35:28 +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 5ecc953bdb config and genassym are not sysadmin tools, they are development tools.
As such, they don't belong in /usr/sbin, but rather /usr/bin.  Move them
there.
2005-06-05 18:19:52 +00:00