Source-Changes-HG archive

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

[src/trunk]: src/etc/etc.evbarm Handle ALL_KERNELS selection



details:   https://anonhg.NetBSD.org/src/rev/2682c81de5b9
branches:  trunk
changeset: 785522:2682c81de5b9
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Sun Mar 17 12:19:57 2013 +0000

description:
Handle ALL_KERNELS selection

diffstat:

 etc/etc.evbarm/Makefile.inc |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 03b94c21ddb4 -r 2682c81de5b9 etc/etc.evbarm/Makefile.inc
--- a/etc/etc.evbarm/Makefile.inc       Sun Mar 17 06:29:55 2013 +0000
+++ b/etc/etc.evbarm/Makefile.inc       Sun Mar 17 12:19:57 2013 +0000
@@ -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 @@
 # 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 @@
     || ${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.



Home | Main Index | Thread Index | Old Index