summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2004-01-12Use the first argument of getmode() to modify the second arg, instead ofsimonb
just replacing the second arg. This lets the higher order file type bits survive. Fixes problems with the tools version of mknod(8).
2004-01-08KNF.simonb
2004-01-03Consistently check ${TOOLCHAIN_MISSING} against "no".lukem
2004-01-02Move libgcc3/*.mk to libgcc3/arch.skrll
Update mknative-gcc.
2003-12-30Add ID linejmc
2003-12-29List that all hosts require a posix sh and override with HOST_SH if needed.jmc
Start a list of any other general tools assumed (gzip being the only one right now). Note that redhat8 works with no special settings.
2003-12-11Fix typo.matt
2003-12-11Add macppc-fixcoff tool.matt
2003-12-10Use (cd ${.CURDIR} && ${MAKE} cleandir) instead of ${MAKE} cleandirlukem
Suggested by Ross Harvey.
2003-12-07Make command line parser getopt() compatible (allow host-mkdep -aq -s.o.lo ...)dsl
Don't use shell builtin because we need to know the values of OPTIND (etc) in what is usually an error path.
2003-12-04move libaries back to gnu/libmrg
2003-12-04always build tools/binutils now.mrg
2003-12-04look for libbfd etc in binutils always now.mrg
2003-12-04build lib{opcodes,bfd,iberty} back in gnu/lib instead of gnu/usr.bin/binutilsmrg
as they are needed earlier than when gnu/usr.bin/binutils is built when "make -j" is used.
2003-12-01fix a bug in previous:mrg
don't pass -L${DESTDIR}/usr/lib twice, pass it once with -L${DESTDIR}/lib.
2003-11-27move binutils lib{iberty,opcodes,bfd} to usr.bin/binutils.mrg
2003-11-27fix a comment; normalise.mrg
2003-11-27all `tooldir/nbmake-$ARCH native-binutils' support, to regenerate binutilsmrg
configury files for the integrated toolchain.
2003-11-27use mknative.commonmrg
2003-11-27trim FIND_ARGS. remove dead targets.mrg
2003-11-27common part of mknativemrg
2003-11-27be a little more verbose about what we're doing when running mknative.mrg
also grab LIB2FUNCS_EXTRA for libgcc3 (old fix for m68000).
2003-11-17note successful build on Mac OS 10.3 with xcode 1.0 developer toolsdbj
2003-11-16Correct .PHONY rules that force tools to be installed to usedsl
'.if ${MKUPDATE} == "no"' instead of '.if !defined(UPDATE)'.
2003-11-16Improve how various "simple" host tools are built and invoked.lukem
2003-11-12add --with-included-gettext to CONFIGURE_ARGS since it wasdbj
trying to use the native -lintl but not adding it to LIBS
2003-11-12regen after HAVE_SYS_POLL_H changedbj
2003-11-12use sys/poll.h and HAVE_SYS_POLL_H instead of just HAVE_POLL_Hdbj
HAVE_SYS_POLL_H is used by src/include/roken.h needed by the host tool asn1_compile
2003-11-12Don't use TERMCAP if host tool.matt
2003-11-11Let -- be used to separate mkdep options from cc optionsdsl
2003-11-10Make this support the same new options as recently added to the mkdep program.dsl
2003-11-08Build sgivol as a host tool when compiling for sgimips.sekiya
2003-11-08Build sgivol as a host tool.sekiya
2003-10-28clean the "stripped" mdoc fileslukem
2003-10-27Overhaul how `build.sh tools' are used:lukem
* Rename "config.h" to "nbtool_config.h" and HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H. This makes in more obvious in the source when we're using tools/compat/config.h versus "standard autoconf" config.h * Consistently move the inclusion of nbtool_config.h to before <sys/cdefs.h> so that the former can provide __RCSID() (et al), and there's no need to protect those macros any more. These changes should make it easier to "tool-ify" a program by adding: #if HAVE_NBTOOL_CONFIG_H #include "nbtool_config.h" #endif to the top of the source files (for the general case).
2003-10-27add mknod as a host toollukem
2003-10-27Overhaul how `build.sh tools' are used:lukem
* Rename "config.h" to "nbtool_config.h" and HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H. This makes in more obvious in the source when we're using tools/compat/config.h versus "standard autoconf" config.h * Consistently move the inclusion of nbtool_config.h to before <sys/cdefs.h> so that the former can provide __RCSID() (et al), and there's no need to protect those macros any more. These changes should make it easier to "tool-ify" a program by adding: #if HAVE_NBTOOL_CONFIG_H #include "nbtool_config.h" #endif to the top of the source files (for the general case).
2003-10-26Use ${HOST_SH} instead of `sh'.lukem
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-26add gdb53 as a host tool for use as a crossgdbcl
replaces gdb50 from toolchain on archs which use gcc3
2003-10-21Rework how MAKEVERBOSE operates:lukem
* 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-20Strip man.local and mdoc.local before installation; fixes problem with ↵wiz
undefined variables found by lukem.
2003-10-19rework to use the newer _MKMSGCREATE (et al) macroslukem
2003-10-19Add host tool version of ncdcsmatt
2003-10-18MAKEVERBOSE supportlukem
2003-10-10add -O2 to HOST_CFLAGS on Darwin since adding "-no-cpp-precomp" there blowsdbj
it away otherwise
2003-10-10Set EXTRA_PARTS to a null value, like we do with LIBGCC. This preventsthorpej
the tool build from attempting to build the GCC crtstuff before the target include files are installed. PR toolchain/23112. (Note: You would not see the bad behavior described in the PR unless your .mk files were hacked to configure the toolchain target as *-*-netbsd*2.0.)
2003-10-08Overhaul MBR handling (part 1):lukem
<sys/bootblock.h>: * Added definitions for the Master Boot Record (MBR) used by a variety of systems (primarily i386), including the format of the BIOS Parameter Block (BPB). This information was cribbed from a variety of sources including <sys/disklabel_mbr.h> which this is a superset of. As part of this, some data structure elements and #defines were renamed to be more "namespace friendly" and consistent with other bootblocks and MBR documentation. Update all uses of the old names to the new names. <sys/disklabel_mbr.h>: * Deprecated in favor of <sys/bootblock.h> (the latter is more "host tool" friendly). amd64 & i386: * Renamed /usr/mdec/bootxx_dosfs to /usr/mdec/bootxx_msdos, to be consistent with the naming convention of the msdosfs tools. * Removed /usr/mdec/bootxx_ufs, as it's equivalent to bootxx_ffsv1 and it's confusing to have two functionally equivalent bootblocks, especially given that "ufs" has multiple meanings (it could be a synonym for "ffs", or the group of ffs/lfs/ext2fs file systems). * Rework pbr.S (the first sector of bootxx_*): + Ensure that BPB (bytes 11..89) and the partition table (bytes 446..509) do not contain code. + Add support for booting from FAT partitions if BOOT_FROM_FAT is defined. (Only set for bootxx_msdos). + Remove "dummy" partition 3; if people want to installboot(8) these to the start of the disk they can use fdisk(8) to create a real MBR partition table... + Compile with TERSE_ERROR so it fits because of the above. Whilst this is less user friendly, I feel it's important to have a valid partition table and BPB in the MBR/PBR. * Renamed /usr/mdec/biosboot to /usr/mdec/boot, to be consistent with other platforms. * Enable SUPPORT_DOSFS in /usr/mdec/boot (stage2), so that we can boot off FAT partitions. * Crank version of /usr/mdec/boot to 3.1, and fix some of the other entries in the version file. installboot(8) (i386): * Read the existing MBR of the filesystem and retain the BIOS Parameter Block (BPB) in bytes 11..89 and the MBR partition table in bytes 446..509. (Previously installboot(8) would trash those two sections of the MBR.) mbrlabel(8): * Use sys/lib/libkern/xlat_mbr_fstype.c instead of homegrown code to map the MBR partition type to the NetBSD disklabel type. Test built "make release" for i386, and new bootblocks verified to work (even off FAT!).
2003-10-07set HOST_CFLAGS+= -no-cpp-precomp when configuring gnu software on Darwindbj
2003-10-01Adjust pathnames to {md{4,5},sha1}.h after their removal fromseb
src/include. Approved by mrg@
2003-08-27If SIZE_MAX is not defined, but SIZE_T_MAX is defined (e.g. FreeBSD),uwe
define SIZE_MAX as SIZE_T_MAX.