Make the "release" target catch everything we want.

This commit is contained in:
thorpej 2002-04-13 16:40:32 +00:00
parent 54d0dedd0c
commit fa625b1194
4 changed files with 16 additions and 14 deletions

View File

@ -1,18 +1,9 @@
# $NetBSD: Makefile,v 1.4 2002/04/13 01:46:29 thorpej Exp $
# $NetBSD: Makefile,v 1.5 2002/04/13 16:40:32 thorpej Exp $
.include <bsd.own.mk>
.include "${_SRC_TOP_}/distrib/Makefile.inc"
SUBDIR= gzboot instkernel
ITARGET= ${RELEASEDIR}/binary/gzimg
GZIMGDIR!= cd ${.CURDIR}/gzboot/gzimg && ${PRINTOBJDIR}
GZIMGS!= cd ${.CURDIR}/gzboot/gzimg && ${MAKE} -V GZIMGS
release: check_RELEASEDIR
.for img in ${GZIMGS}
${RELINSTALL} ${GZIMGDIR}/${img} ${ITARGET}/.
.endfor
TARGETS+= release
.include <bsd.subdir.mk>

View File

@ -1,10 +1,13 @@
# $NetBSD: Makefile,v 1.2 2002/04/11 12:19:42 lukem Exp $
# $NetBSD: Makefile,v 1.3 2002/04/13 16:40:32 thorpej Exp $
SUBDIR=
TARGETS+= release
.ifmake !release
# List the Gzip Boot ELF images you want to create here.
SUBDIR+= gzboot_IQ80310_flash_0x00080000
SUBDIR+= gzboot_IQ80321_flash_0xf0080000
.endif
SUBDIR+= .WAIT gzimg

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2002/04/11 23:36:49 thorpej Exp $
# $NetBSD: Makefile,v 1.3 2002/04/13 16:40:33 thorpej Exp $
.include <bsd.own.mk>
.include "${_SRC_TOP_}/distrib/Makefile.inc"
@ -39,4 +39,11 @@ CLEANFILES+= netbsd.tmp netbsd.tmp.gz gzboot.sym \
#
realall: ${GZIMGS}
ITARGET= ${RELEASEDIR}/binary/gzimg
release: check_RELEASEDIR
.for img in ${GZIMGS}
${RELINSTALL} ${img} ${ITARGET}/.
.endfor
.include <bsd.prog.mk>

View File

@ -1,5 +1,6 @@
# $NetBSD: Makefile,v 1.1 2002/04/13 01:46:30 thorpej Exp $
# $NetBSD: Makefile,v 1.2 2002/04/13 16:40:33 thorpej Exp $
SUBDIR= ramdisk .WAIT instkernel
TARGETS+= release
.include <bsd.subdir.mk>