Commit Graph

18 Commits

Author SHA1 Message Date
salo
8d1781e39d netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
tsutsui
cf7ee4e531 Bump md_root size to 2.5Mbytes. 2003-02-10 11:18:55 +00:00
tsutsui
31fb061b05 Remove "-Wa,-xgot" hack from DBG flag for broken objcopy-crunchide
that has been fixed by simonb.
2003-02-01 05:00:17 +00:00
jdolecek
b8445f760f bump ramdisk image to 2330k 2003-01-22 21:16:32 +00:00
tsutsui
a6223afc8f Remove "srcdir distrib/utils/x_mount" from ramdisk lists
since src/sbin/mount/Makefile no longer links fs specific routines.
2003-01-19 12:26:47 +00:00
lukem
ea0637c5af Now that usr.bin/ftp/Makefile supports SMALLPROG and SMALLPROG_INET6,
we don't need distrib/utils/x_ftp anymore...
2002-10-17 06:38:15 +00:00
lukem
ed56ec3a05 Rework how SMALLPROG was being used and how INET6 support was enabled.
There's two variables added to Makefile.crunch:

    SMALLPROG		If 1, add SMALLPROG=1 to CRUNCHENV.  [default: 1]
			This can be used by various Makefiles to
			determine if a `small' version of the program
			is required.

    SMALLPROG_INET6	If 1 and SMALLPROG == 1, add SMALLPROG_INET6=1
			to CRUNCHENV.  [default: 0]
			This can be used by various Makefiles to
			determine if the `small' version has INET6
			support enabled.

Only enable SMALLPROG_INET6 for programs on the ramdisks that have INET6 in
the appropriate kernel, and cleanup INET6 setting.
(Note: this means that sysinst won't get INET6 support if the kernel
it's running on doesn't have it).

This change saves a fair bit of space on various install images
(including i386 ramdisk-{ps2,small,tiny}) that didn't have INET6 in
the kernel but were unconditionally getting INET6 support in their tools.
2002-10-17 02:05:35 +00:00
lukem
5e5b17c60f remove unnecessary MTREE line 2002-05-29 03:49:43 +00:00
jdolecek
bbe73cf3c3 it's 2304_k_ 2002-05-26 18:17:35 +00:00
jdolecek
d02e4285f9 bump ramdisk size, 2M isn't enough 2002-05-26 18:13:56 +00:00
lukem
ed8e534c7e yet another distrib overhaul:
- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib
  (fixes problem caused by implicit include of ../Makefile.inc in certain
  submake conditions triggered by makefiles not yet in tree)
- removed mkdir of ${RELEASEDIR}/*;  rely upon "snap_pre" target of
  etc/Makefile to create all the release directories
- renamed RELINSTALL to RELEASE_INSTALL
- renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR
- renamed MDSETDIR to MDSET_RELEASEDIR
- removed ITARGET
- move release target from top level to appropriate subdirectory
- ensure release target has correct depends
- replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD
- Makefile.image: add realall: ${IMAGE}
2002-05-02 18:02:14 +00:00
tsutsui
142133ad1d Fix IMAGESIZE. (typo in rev 1.4?) 2002-04-27 17:15:48 +00:00
lukem
9e5598221a replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version 2002-04-26 15:50:21 +00:00
tv
3522143339 The "objcopy" based crunchide method has a problem on MIPS; it turns global
symbols into locals, but relocs are left in place (rather than attempting
to resolve-in-place with "ld -r", even with "-Bsymbolic").

Standard MIPS code will generate CALL16 relocs for function calls, but
the linker forbids such relocs from being used to call local symbols (such
as those turned "local" by objcopy).  So, rather than battle the toolchain
uphill, work around it for the moment by forcing 32-bit GOT references with
the assembler option "-xgot".

This will be fixed in a more clean manner in the future.
2002-04-23 19:53:10 +00:00
tsutsui
3cd5a50891 Set DBG="-Os -mmemcpy" and pass it to crunchgen. 2002-04-14 12:52:15 +00:00
lukem
8f603e224b consistency cleanup 2002-04-13 13:42:57 +00:00
lukem
59e45171a7 minor NDWO tweak 2002-04-12 14:10:48 +00:00
tsutsui
7eaee407f7 First cut at ramdisk build infrastructure for arc with NDWO. 2002-04-06 18:40:32 +00:00