1 1.13.4.1 wrstuden # $NetBSD: Makefile.inc,v 1.13.4.1 1999/12/27 18:28:56 wrstuden Exp $ 2 1.1 deraadt # 3 1.1 deraadt # etc.sparc/Makefile.inc -- sparc-specific etc Makefile targets 4 1.1 deraadt # 5 1.1 deraadt 6 1.13.4.1 wrstuden TOP= $(.CURDIR)/.. 7 1.13.4.1 wrstuden 8 1.13 cjs # Set this for any kernels beyond GENERIC you want to include 9 1.13 cjs # in the distribution. 10 1.13 cjs EXTRA_KERNELS+= GENERIC_SCSI3 11 1.13.4.1 wrstuden BUILD_KERNELS+= INSTALL 12 1.13.4.1 wrstuden 13 1.13.4.1 wrstuden # Add sparc installation directories 14 1.13.4.1 wrstuden MD_INSTALLATION_DIRS= \ 15 1.13.4.1 wrstuden installation/miniroot installation/netboot installation/bootfs 16 1.13.4.1 wrstuden INSTALLATION_DIRS+=$(MD_INSTALLATION_DIRS) 17 1.13.4.1 wrstuden 18 1.13.4.1 wrstuden snap_pre_md: 19 1.13.4.1 wrstuden .ifndef UPDATE 20 1.13.4.1 wrstuden cd $(TOP)/distrib && ${MAKE} clean 21 1.13.4.1 wrstuden .endif 22 1.13.4.1 wrstuden 23 1.13.4.1 wrstuden # 24 1.13.4.1 wrstuden # Install miniroot images and auxiliary scripts to the release tree 25 1.13.4.1 wrstuden # 26 1.13.4.1 wrstuden snap_md_post: 27 1.13.4.1 wrstuden # make boot/miniroot images 28 1.13.4.1 wrstuden (cd $(TOP)/distrib; ${MAKE}) 29 1.13.4.1 wrstuden 30 1.13.4.1 wrstuden # transfer images to release hierarchy 31 1.13.4.1 wrstuden .for dir in notes miniroot sparc/bootfs sparc/ramdisk 32 1.13.4.1 wrstuden (cd $(TOP)/distrib/$(dir); ${MAKE} release) 33 1.13.4.1 wrstuden .endfor 34 1.13.4.1 wrstuden 35 1.13.4.1 wrstuden # install boot image and installation scripts in netboot directory 36 1.13.4.1 wrstuden cp -p $(DESTDIR)/usr/mdec/boot.net $(RELEASEDIR)/installation/netboot 37 1.13.4.1 wrstuden .for f in install.sh upgrade.sh install.sub ../sparc/install.md 38 1.13.4.1 wrstuden cp -p $(TOP)/distrib/miniroot/$f $(RELEASEDIR)/installation/netboot 39 1.13.4.1 wrstuden .endfor 40 1.13.4.1 wrstuden 41 1.13.4.1 wrstuden # compute checksums 42 1.13.4.1 wrstuden .for dir in ${MD_INSTALLATION_DIRS} 43 1.13.4.1 wrstuden sh $(TOP)/distrib/sets/makesums -t ${RELEASEDIR}/${dir} '*' 44 1.13.4.1 wrstuden .endfor 45