Commit Graph

31 Commits

Author SHA1 Message Date
tsutsui e2c139ba9f Remove "-Wa,-xgot" hack from DBG flag for broken objcopy-crunchide
that has been fixed by simonb.

BTW, should we also add "-mmemcpy" here to reduce code size?
2003-02-01 05:03:42 +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
simonb f5e9be2ba8 ${DISTRIBDIR} has changed; grab our rcons termcap relative to ${CURDIR}. 2002-05-02 13:31:43 +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
lukem 1908fce774 use ${IMAGETAR} support from Makefile.image 2002-04-12 05:15:18 +00:00
lukem a99fe4fd61 use ${DISTRIBDIR} appropriately 2002-04-12 03:26:57 +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 acf013a178 use libhack 2002-03-29 23:45:23 +00:00
lukem d6e557b609 cosmetic reorg 2002-03-28 03:24:07 +00:00
lukem cf579aa572 cosmetic tweaks 2002-03-24 23:15:24 +00:00
lukem 57a7dc2329 convert to New Distrib World Order.
this should be able to be built as non-root now.

XXX: untested (hi simon! :), as it can't be cross built yet due to
elf2ecoff and installboot issues.
2002-03-12 06:26:34 +00:00
lukem 811d644d8f don't set the owner or group when installing into $RELEASEDIR 2002-02-09 13:56:48 +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
simonb de2bc33bf5 Add dummy dependall target. 2001-03-24 15:30:44 +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
sjg 1f724b9392 use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels. 2000-05-02 16:06:45 +00:00
simonb 67d216b128 Tidy up a little and make work.
Now uses like disktab files for disk labels.
2000-01-06 03:47:55 +00:00
simonb 552638f765 Don't do the disklabel dance - just newfs the vnode.
Add an "echoimage" target.
1999-12-28 10:54:20 +00:00
veego dfa799a037 Sync with the recent crunchgen changes.
- Remove *.cro files and not the obsoleted *.lo files.

From Bill Studenmund commit message:
> 3) Generate .cro files rather than .lo files. .lo now is used for "local
> objects" - obj's for the host machine not the target machine.
1999-05-11 20:46:58 +00:00
simonb c0b49cb7db Tidy up "make clean", remove compressed tar file of diskimage. 1999-05-06 20:51:22 +00:00
simonb 528b59cd0b Oops, remove ".include <bsd.sys.mk>" added by mistake in previous commit. 1999-05-04 02:46:15 +00:00
simonb 3434f6e05e Add dummy depend targets so that "make depend" doesn't bomb out. 1999-05-04 02:44:22 +00:00
simonb 766f40edeb Add BINDIR and an install rule to install into ${RELEASEDIR}${BINDIR}. 1999-04-27 12:03:39 +00:00
simonb f76b42c7a5 Make the "all" target depend in the ramdisk image and not the crunched
binary.
1999-04-27 01:37:13 +00:00
simonb 895e3323a5 Build a tar file of the ramdisk.fs suitable for installing on an NFS
server for diskless installs on machines that can't netboot a kernel
with a full ramdisk.
1999-04-16 14:12:14 +00:00
wrstuden ad140b77ea Modify all calls to newfs in ramdisk/miniroot creation to include
the needed endianism of the architecture. One step towards cross-building
releases.

Not touched are newfs calls in install scripts as they run on the desired
machine and thus default correctly.
1999-03-04 20:32:18 +00:00
jonathan 79f873a329 pmax installation ramdisk configuration. 1998-11-27 23:10:28 +00:00