Commit Graph

7 Commits

Author SHA1 Message Date
dbj 41b9cfff20 use reachover relative paths in compat include files instead of
symlinking ufs include files into installboot and makefs tool objdirs
reviewed by lukem and thorpej on tech-toolchain
2003-05-14 00:30:26 +00:00
thorpej c4a72b6436 Centralize the definition of the tool name prefix (i.e. "nb") into
bsd.own.mk, as the _TOOL_PREFIX variable.
2002-12-08 20:19:56 +00:00
matt 9a6861e363 Make Solaris 8 happy: use ln -f -s instead of ln -fs 2002-05-31 05:50:03 +00:00
pk 583e840c0b Make $(OBJS) depend on the ufs headers link. 2002-03-05 15:08:27 +00:00
tv 9fbd88883c Roll in fixes to permit cross-compiling from non-NetBSD hosts. This
round has been tested on Solaris/x86 and Linux hosts.

* Add host tools cap_mkdb, ctags, m4, uudecode.
* Protect __RCSID() and __COPYRIGHT() better.
* Reduce the number of places that need to include "config.h", to keep
  sources closer to their "vanilla" versions.
* Add more compat #defines and autoconf-checked functions.
2002-01-31 22:43:33 +00:00
lukem 3e8ee2e17f Symlink ./ufs to ${.CURDIR}/../../sys/ufs, and add -I. to HOST_CPPFLAGS.
This means that <ufs/*/*.h> come from ../../sys/ufs, but other
<sys/*> header files still come from the host system's /usr/include.

This slightly ugly hack to the Makefile means that makefs compiles on
-current and 1.5.x machines (and other systems), without requiring
major code rewrites in sys/ufs/ffs to allow sharing and without
requiring duplication of sys/ufs/ffs* under usr.sbin/makefs.
2002-01-10 05:03:45 +00:00
mrg 2218533d73 build this as a host tool. 2002-01-05 07:00:56 +00:00