Commit Graph

469 Commits

Author SHA1 Message Date
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
christos b1d90df260 use the copy in /usr/src/usr.sbin/ 2005-05-31 03:53:59 +00:00
thorpej b1688b2767 Add a -f option to generate Forth code instead of a C header file.
Part of PR toolchain/30350.
2005-05-30 23:27:29 +00:00
thorpej 62294d00e3 Build genassym as a host tool. Part of PR toolchain/30350 2005-05-30 15:51:36 +00:00
skrll 810ebc3831 Use the correct LD/NM/OBJDUMP when creating the mknative environment. 2005-05-20 07:10:51 +00:00
christos 4de0ea44a5 Replace the original fgetln with a simpler one that:
1. Works if the last line does not end up in \n
2. Does not scan the string multiple times.
3. Does not copy the string, but writes it directly in the buffer.
4. Handles out of memory conditions gracefully.
2005-05-15 21:31:26 +00:00
skrll 990898b846 Use the correct AS when creating the mknative environment.
Reviewed by mrg@

mknative re-runs will appear soon.
2005-05-14 08:00:58 +00:00
chs 6fafa8c2a3 don't build a shared lib for the host-tool, it doesn't work on hp700
and isn't needed anyway.
2005-05-08 01:47:33 +00:00
jmc 2b4f5f9782 Update notes for testing on linux, OS/X 2005-04-05 00:21:22 +00:00
wiz 1dc296553a Remove commas in AC_CHECK_FUNCS that shouldn't be there.
Closes PR 29577 by Valeriy E. Ushakov.
2005-03-02 18:08:43 +00:00
jmc 2fbd40c4e0 Put back @ on configure line. Was off for debugging and shouldn't have been
committed.
2005-02-11 15:11:08 +00:00
jmc e392f6d248 Pass CC,CXX and a few other vars along to configure so file can find the c++
preprocessor (which of course it doesn't even use...)
2005-02-11 15:01:57 +00:00
jmc 07aeec53c1 Make a BUILD_ENV that by defaults matches CONFIGURE_ENV and pass it along on
the build step. Catches things like binutils which do a bunch of configures
on the build step and lose possibly. Fixes issues from PR#29197 for lex
not being picked up here.
2005-02-11 15:01:03 +00:00
jmc 0a58d4b08d Define LOGIN_NAME_MAX explicitly here and override any system provided one
since the compat tools need to use the NetBSD limits, not the local system
ones (and some systems don't provide this yet anyways). Fixes PR#29170
2005-02-01 05:26:03 +00:00
is d781105e1d We don't need aout2bb any longer. 2005-01-27 12:54:05 +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
jmc f7b3f12b97 Turns out some platforms (freebsd5) expose st_birthtime but not
st_birthtimensec. Make sure and check for both so programs can deal w. it
2005-01-13 00:52:40 +00:00
mycroft 963654140b Add some quotes to prevent a syntax error. 2005-01-09 03:48:30 +00:00
mrg 8887f2b7c4 for mknative, move -B from CC to CFLAGS, fixes vax configs 2004-12-12 12:42:35 +00:00
jmc 427a8339c4 Provide a definition for __UNCONST since there's no guarentee our sys/cdefs.h
gets pulled in
2004-12-11 09:34:08 +00:00
jmc 4d724bafe7 Take output and look for things of the form ./XXX.o and turn them into XXX.o
so generated objects vs listed objects in make line up and dependcies happen
correctly. Found because libiberty (on this binutils import) was leaving
all objects as ./object.o and make wasn't picking up correct depends on
config.h as a result.
2004-12-11 07:40:50 +00:00
lukem 9741933ec5 minor (shell) KNF 2004-12-11 01:37:36 +00:00
mrg ab78454ed7 mirror a fix from mknative-binutils:
>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:58:11 +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
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 9da9dc64b7 Add heapsort to libnbcompat 2004-11-28 06:57:14 +00:00