Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/evbarm Make the "release" target catch everything we...



details:   https://anonhg.NetBSD.org/src/rev/fbbb487bda96
branches:  trunk
changeset: 525599:fbbb487bda96
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat Apr 13 16:40:32 2002 +0000

description:
Make the "release" target catch everything we want.

diffstat:

 distrib/evbarm/Makefile              |  13 ++-----------
 distrib/evbarm/gzboot/Makefile       |   5 ++++-
 distrib/evbarm/gzboot/gzimg/Makefile |   9 ++++++++-
 distrib/evbarm/instkernel/Makefile   |   3 ++-
 4 files changed, 16 insertions(+), 14 deletions(-)

diffs (74 lines):

diff -r fa21692b8395 -r fbbb487bda96 distrib/evbarm/Makefile
--- a/distrib/evbarm/Makefile   Sat Apr 13 15:58:30 2002 +0000
+++ b/distrib/evbarm/Makefile   Sat Apr 13 16:40:32 2002 +0000
@@ -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>
diff -r fa21692b8395 -r fbbb487bda96 distrib/evbarm/gzboot/Makefile
--- a/distrib/evbarm/gzboot/Makefile    Sat Apr 13 15:58:30 2002 +0000
+++ b/distrib/evbarm/gzboot/Makefile    Sat Apr 13 16:40:32 2002 +0000
@@ -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
 
diff -r fa21692b8395 -r fbbb487bda96 distrib/evbarm/gzboot/gzimg/Makefile
--- a/distrib/evbarm/gzboot/gzimg/Makefile      Sat Apr 13 15:58:30 2002 +0000
+++ b/distrib/evbarm/gzboot/gzimg/Makefile      Sat Apr 13 16:40:32 2002 +0000
@@ -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 @@
 #
 realall: ${GZIMGS}
 
+ITARGET=       ${RELEASEDIR}/binary/gzimg
+
+release: check_RELEASEDIR
+.for img in ${GZIMGS}
+       ${RELINSTALL} ${img} ${ITARGET}/.
+.endfor
+
 .include <bsd.prog.mk>
diff -r fa21692b8395 -r fbbb487bda96 distrib/evbarm/instkernel/Makefile
--- a/distrib/evbarm/instkernel/Makefile        Sat Apr 13 15:58:30 2002 +0000
+++ b/distrib/evbarm/instkernel/Makefile        Sat Apr 13 16:40:32 2002 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index