Commit Graph

30 Commits

Author SHA1 Message Date
salo 8d1781e39d netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
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 cf4eb31ab4 Disable IMAGEPOSTBUILD=${DESTDIR}/usr/mdec/installboot
since it's not cross friendly.
The release should now cross-build again...
2002-12-11 15:52:47 +00:00
jdolecek 851a5c50dd seems we don't need /usr/bin/strings in ramdisk 2002-12-05 19:37:04 +00:00
lukem 04e61f8526 - whitespace consistency cleanup
- build (mdset/nm/strip) into ${filename} as one rule, and move ${filename}.gz
  into separate rule
- rename MDSET.${filename}.nosymbols -> MDSET_NOSYMBOLS.${filename}
- rename MDSET.${filename}.post -> MDSET_POST.${filename}, and don't do
  suffix handling here
- rework suffix handling:
	- rename MDSET.${filename}.suffixes -> MDSET_SUFFIXES.${filename},
	  and change from list of suffixes to list of "suffix cmdtobuildsuffix",
  	  where cmdtobuildsuffix is the name of the variable containing the
	  command to build ${filename}.${suffix} (available as "${.TARGET}").
	- for each ${filename}.${suffix}, depend upon ${filename} and use
	  ${cmdtobuildsuffix} to create the former.
	- add separate ${filename}.${suffix}.gz rule
- mipsco & pmax: rename "install.gz" to "netbsd-INSTALL.gz", for
  consistency and so the target to build the mdset kernel doesn't get
  confused with general "install" target
2002-05-08 21:44:53 +00:00
lukem d5209f6152 rather than blocking parallel mdset builds with .WAIT, replace usage of
"netbsd.tmp" with "${.TARGET:R}" (et al)
2002-05-03 15:22:55 +00:00
lukem 611543b0a7 provide common/mtree.dot (contains entry for ". type=dir ...") , and
use that rather than MTREE entry in the list, because Makefile.image
needs at least one mtree file anyway
2002-05-03 14:20:54 +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 89abf2a631 Use termcap.src (instead of non-existant termcap.mini).
Change image depends from uboot.lif to boot and bootxx_ffs.
2002-05-02 14:16:02 +00:00
simonb bb1d4e3c14 Copy the .../pmax/instkernel/list changes for "MTREE . type=dir" and
copying the kernel from the OBJDIR.
2002-05-02 14:12:40 +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 8e8fe76d90 Makefile.mdset: add ${KERNELDEPS} variable which is ${KERNELS} with
.WAIT between the items, and remove .WAIT from ${KERNELS}.
Use ${KERNELDEPS} in make dependencies.
2002-04-14 06:18:12 +00:00
lukem 36f355e14e - Rename Makefile.mdset variables:
MDEXTRA_SUFFIXES.${KERNEL} 	-> MDSET.${FILENAME}.suffixes
	${KERNEL.${_K}}.post		-> MDSET.${FILENAME}.post
  This allows "default" rules for for MDSETTARGETS with FILENAMEs of "-"
  by defined MDSET.-.post & MDSET.-.suffixes
- Document the above
- Use the above appropriately in various Makefiles
- Be a be quieter when building these kernels
- Add .WAIT syncs so that multiple kernels aren't built in parallel, because
  the temporary filename is the same, and it also avoid hairy magic in
  syncing the targets generated from MDSET.${FILENAME}.suffixes with
  the master target for that ${FILENAME}
2002-04-14 01:41:24 +00:00
lukem b39fbede64 migrate to NDWO using Makefile.mdset, based on pmax/instkernel/Makefile
XXX: untested
2002-04-12 13:54:50 +00:00
lukem 96507f1e2c nuke now-unused stuff 2002-04-12 06:03:30 +00:00
lukem b4ca9f10e4 convert to NDWO 2002-04-12 06:02:36 +00:00
lukem 6a555ac363 .WAIT sync 2002-04-12 00:32:38 +00:00
lukem 0476c683f0 replace BSDSRCDIR with _SRC_TOP_, since the latter is more likely to
be "accurate".  document _SRC_TOP_.
2002-04-10 15:05:41 +00:00
lukem e5ef62ef2b - add specific special entry for sys/arch/${MACHINE}/stand/installboot
for ports that don't yet use the MI usr.sbin/installboot
- remove now-unnecessary srcdir for sys/arch/${MACHINE}/stand
2002-04-09 00:31:38 +00:00
lukem 811d644d8f don't set the owner or group when installing into $RELEASEDIR 2002-02-09 13:56:48 +00:00
wdk cb516564d4 Remove duplicate .include 2001-11-04 06:18:26 +00:00
jmc 4d6ad24166 Convert to using ${MDSETIMAGE}.
Provide a default value for $MDSETIMAGE and pull in bsd.own.mk to have
it overriden as needed for cross/-current builds.
2001-10-21 23:23:19 +00:00
jmc 94a3b27f46 Replace crunchgen with 2001-10-13 06:16:13 +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
wdk cc53712b93 Ensure RELEASEDIR is set before make release. 2001-03-05 05:07:45 +00:00
wdk b1e4117ddf add "release" target 2001-03-05 05:05:38 +00:00
wdk 1499c044ae - Add "make release" target
- Create directories in release stage area before installing target
2001-02-25 03:36:20 +00:00
wdk f8ebdd6a84 Installation bootimage for NetBSD/mipsco
Currently supports Hard Disk boot only.   Mips Firmware cannot boot to
read-only media suchas CDROM drive
2001-02-19 07:45:38 +00:00