Commit Graph

44 Commits

Author SHA1 Message Date
tsutsui
f9be6e290b Now smaller ditrib/utils/x_gzip has -l support so use it again. 2004-03-28 11:44:20 +00:00
tsutsui
e46e85dac1 Use usr.bin/gzip instead of distrib/utils/x_gzip for -l used by sysinst. 2004-03-27 01:06:46 +00:00
salo
8d1781e39d netbsd.org->NetBSD.org 2003-07-26 17:06:22 +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
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
28afa1a617 Convert from usr/mdec/installboot to usr/sbin/installboot.
(From Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>)
2002-05-20 16:13:39 +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
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
b76a5c40c3 Use ${_SRC_TOP_} instead of ${CURDIR}/../../../ 2002-04-14 07:14:44 +00:00
tsutsui
aa0c7fc4bf Put back some disabled binaries. 2002-04-14 02:32:52 +00:00
tsutsui
fdba9b317b Expand IMAGESIZE to 2.5Mbytes. 2002-04-14 02:31:15 +00:00
lukem
8f603e224b consistency cleanup 2002-04-13 13:42:57 +00:00
tsutsui
6371ef23e9 Set srcdir for sys/arch/${MACHINE}/stand/installboot
till these ports will switch MI use.sbin/installboot.
2002-04-07 03:46:44 +00:00
tsutsui
7dfa9c859e Set DBG="-Os -mmemcpy" and also pass it to crunchgen via CRUNCHGEN_FLAGS.
(saves ramdiskbin ~4kbytes)
2002-04-07 03:38:03 +00:00
tsutsui
ebf5fffe65 Set DBG=-Os for libhack. 2002-04-06 18:16:09 +00:00
lukem
e0f433e649 ensure all sysinst-using makefs generated images have at least 15 inodes free,
and be consistent how MAKEFS_FLAGS is defined.
2002-04-01 12:16:11 +00:00
lukem
484f8db2eb - Be consistent how libhack is used: If extra HACKOBJS (e.g., gethost.o) are
required, define them before pulling in libhack/Makefile.inc so that the
  dependencies work correctly.
- Other minor cleanups
2002-03-28 04:33:21 +00:00
lukem
6a88d3dfb1 minor tweak to IMAGEDEPENDS 2002-03-28 03:12:03 +00:00
lukem
25c4cc30b2 Disable libhack's gethost.o (replacement gethostby{name,addr}()) by default,
as they only support reading /etc/hosts, and its the "least useful" of
the libhack routines.  Add gethost.o back to Really Small media which
appears to need the space savings.
2002-03-25 07:43:39 +00:00
lukem
328c43b040 don't need x_dd, init_s, x_sh in NDWO 2002-03-24 23:20:05 +00:00
tsutsui
ac992d6bf7 Remove pwd_mkdb stuff since /etc/passwd file is not needed for install media.
Pointed out by lukem.
2002-03-18 15:30:55 +00:00
tsutsui
70f4b738b4 Remove test(1), which is sh(1) builtin. 2002-03-17 01:56:06 +00:00
tsutsui
ba21baeee2 - Use new common ramdisk build method.
- Add sysinst, and remove some binaries from list (for now).
2002-03-16 15:54:08 +00:00
tsutsui
33842e660f Add "release" targets. 2002-02-21 15:07:36 +00:00
lukem
adb295f063 use ${HACKOBJS:Ngethost.o} instead of trying to keep HACKOBJS in sync with HACKSRC/Makefile.inc 2002-02-03 16:35:11 +00:00
tsutsui
c33eea3aac Use more libhack functions. 2002-02-03 15:56:26 +00:00
tsutsui
00ed66f7eb - Rename ${SIZE} -> ${RAMDISKSIZE} to avoid conflict with new-toolchain.
- On clean target, try to "make -f ramdiskbin.mk clean" first if it exists.
- Include bsd.prog.mk for new-toolchain.
2002-02-02 07:26:40 +00:00
jmc
a37907dc27 Add MTREE?= to add Makefiles and use when running mtree 2001-10-13 06:15:15 +00:00
enami
652855a0c7 Use symbol MTREECONF instead of MTREE to refer configuration file
to avoid conflicts.  Pointed out by chs@netbsd.org.
2001-10-10 05:13:51 +00:00
tsutsui
dd34b2b9b3 Use distrib/utils/x_mount. 2001-02-18 06:20:17 +00:00
tsutsui
54ba9312c1 Remove mount -t kernfs 2001-02-01 06:08:00 +00:00
tsutsui
f4d61195b4 - Remove mount_kernfs and rcp
- Add dmesg
2001-02-01 06:07:22 +00:00
tsutsui
6d5a9315b0 Remove /kern. 2001-02-01 06:05:46 +00:00
tsutsui
281108ad68 Shrink ramdiskbin:
- Remove mount_kernfs and rcp
- Use x_ed, x_ftp, x_sh, x_umount and libhack.o
- Add x_dmesg
2001-02-01 06:05:14 +00:00
tsutsui
cc69b6930f Use libhack.o. (save ~20kbytes) 2001-02-01 05:57:29 +00:00
garbled
83f61a5891 Change all ocurrences of "crunchgen" to ${CRUNCHGEN} 2000-11-01 07:57:55 +00:00
jhawk
a022cf9d37 Use
${MAKE}
instead of
  make
2000-08-30 23:51:46 +00:00
cgd
c85d2eb42b sweep of my licenses for consistency. (no functional changes) These
files have copyright held by people in addition to myself.  (I did the
original work, they copied it, enhanced it, and added their copyright
to the derivative work.)  Their approval has been given re: the license
change.
2000-06-14 22:52:37 +00:00
cgd
d220ca5ba3 fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well.  No functional changes.
2000-06-14 06:48:47 +00:00
thorpej
ceff2dc6bc Need /etc/netconfig. 2000-06-07 20:32:06 +00:00
sjg
1f724b9392 use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels. 2000-05-02 16:06:45 +00:00
tsubai
2b584a4f04 newsmips install floppy. 2000-03-04 19:27:01 +00:00