NetBSD/etc/etc.sparc64/Makefile.inc

49 lines
1.2 KiB
PHP
Raw Normal View History

2000-08-20 18:48:32 +04:00
# $NetBSD: Makefile.inc,v 1.4 2000/08/20 14:50:02 mrg Exp $
1999-01-24 00:03:22 +03:00
#
# etc.sparc/Makefile.inc -- sparc-specific etc Makefile targets
#
2000-08-20 18:48:32 +04:00
TOP= $(.CURDIR)/..
# Set this for any kernels beyond GENERIC you want to include
# in the distribution.
2000-08-20 18:48:32 +04:00
#EXTRA_KERNELS+= POWEROFSEVEN
# XXX; no ramdisk install yet.
#BUILD_KERNELS+= INSTALL
# Add sparc64 installation directories
MD_INSTALLATION_DIRS= \
installation/ramdisk installation/netboot installation/misc
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 sparc64/ramdisk
(cd $(TOP)/distrib/$(dir); ${MAKE} release)
.endfor
# install boot image and installation scripts in netboot directory
.for f in ofwboot.net
cp -p $(DESTDIR)/usr/mdec/$f $(RELEASEDIR)/installation/netboot
.endfor
.for f in ofwboot bootblk installboot
cp -p $(DESTDIR)/usr/mdec/$f $(RELEASEDIR)/installation/misc
.endfor
# compute checksums
.for dir in ${MD_INSTALLATION_DIRS}
sh $(TOP)/distrib/sets/makesums -t ${RELEASEDIR}/${dir} '*'
.endfor