NetBSD/etc/etc.sparc/Makefile.inc

45 lines
1.2 KiB
PHP
Raw Normal View History

1999-11-14 19:23:36 +03:00
# $NetBSD: Makefile.inc,v 1.15 1999/11/14 16:23:36 pk Exp $
1994-04-12 11:48:20 +04:00
#
# etc.sparc/Makefile.inc -- sparc-specific etc Makefile targets
#
1999-10-19 00:39:01 +04:00
TOP= $(.CURDIR)/..
# Set this for any kernels beyond GENERIC you want to include
# in the distribution.
EXTRA_KERNELS+= GENERIC_SCSI3
1999-10-19 00:39:01 +04:00
BUILD_KERNELS+= INSTALL
# Add sparc installation directories
MD_INSTALLATION_DIRS= \
installation/miniroot installation/netboot installation/bootfs
INSTALLATION_DIRS+=$(MD_INSTALLATION_DIRS)
snap_pre_md:
.ifndef UPDATE
cd $(TOP)/distrib && ${MAKE} clean
.endif
#
# Install miniroot images and auxiliary scripts to the release tree
#
snap_md_post:
# make boot/miniroot images
(cd $(TOP)/distrib; ${MAKE})
# transfer images to release hierarchy
.for dir in notes miniroot sparc/bootfs sparc/ramdisk
(cd $(TOP)/distrib/$(dir); ${MAKE} release)
.endfor
# install boot image and installation scripts in netboot directory
cp -p $(DESTDIR)/usr/mdec/boot.net $(RELEASEDIR)/installation/netboot
.for f in install.sh upgrade.sh install.sub ../sparc/install.md
cp -p $(TOP)/distrib/miniroot/$f $(RELEASEDIR)/installation/netboot
.endfor
# compute checksums
.for dir in ${MD_INSTALLATION_DIRS}
sh $(TOP)/distrib/sets/makesums -t ${RELEASEDIR}/${dir} '*'
.endfor