Module Name:    src
Committed By:   mlelstv
Date:           Sun Mar 17 12:19:58 UTC 2013

Modified Files:
        src/etc/etc.evbarm: Makefile.inc

Log Message:
Handle ALL_KERNELS selection


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/etc/etc.evbarm/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/etc.evbarm/Makefile.inc
diff -u src/etc/etc.evbarm/Makefile.inc:1.47 src/etc/etc.evbarm/Makefile.inc:1.48
--- src/etc/etc.evbarm/Makefile.inc:1.47	Thu Feb 21 15:13:11 2013
+++ src/etc/etc.evbarm/Makefile.inc	Sun Mar 17 12:19:57 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.47 2013/02/21 15:13:11 hans Exp $
+#	$NetBSD: Makefile.inc,v 1.48 2013/03/17 12:19:57 mlelstv Exp $
 #
 #	etc.evbarm/Makefile.inc -- evbarm-specific etc Makefile targets
 #
@@ -38,8 +38,10 @@ __mkimage: .USE
 # Little endian platforms with VFP
 EVBARM_BOARDS+=		BCM5301X BEAGLEBOARD BEAGLEBOARDXM BEAGLEBONE TISDP2420
 smp_beagleboard: ${IMAGE.kern}/netbsd-BEAGLEBOARD.ub.gz __mkimage
+.if empty(ALL_KERNELS) || !empty(ALL_KERNELS:MBEAGLEBOARD)
 SNAP_MD_POST_DEPS+=	smp_beagleboard
 .endif
+.endif
 .if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "earm"
 # Little endian platforms (armv5t+)
 EVBARM_BOARDS+=		OPENRD SHEEVAPLUG 
@@ -64,8 +66,10 @@ KERNEL_SETS+=		HDL_G INTEGRATOR_CP IXM12
     || ${MACHINE_ARCH} == "earmhf"
 EXTRA_KERNELS+=		RPI
 smp_rpi: ${IMAGE.kern}/netbsd-RPI.bin.gz __mkimage
+.if empty(ALL_KERNELS) || !empty(ALL_KERNELS:MRPI)
 SNAP_MD_POST_DEPS+=	smp_rpi
 .endif
+.endif
 
 .if ${MACHINE_ARCH} == "armeb"
 # Big endian platforms.

Reply via email to