Source-Changes-HG archive

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

[src/trunk]: src/etc/etc.evbarm fix ALL_KERNELS handling



details:   https://anonhg.NetBSD.org/src/rev/160f39d33f71
branches:  trunk
changeset: 785581:160f39d33f71
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Thu Mar 21 15:16:43 2013 +0000

description:
fix ALL_KERNELS handling

diffstat:

 etc/etc.evbarm/Makefile.inc |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 6111f6768f66 -r 160f39d33f71 etc/etc.evbarm/Makefile.inc
--- a/etc/etc.evbarm/Makefile.inc       Thu Mar 21 15:03:47 2013 +0000
+++ b/etc/etc.evbarm/Makefile.inc       Thu Mar 21 15:16:43 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.49 2013/03/19 22:16:54 garbled Exp $
+#      $NetBSD: Makefile.inc,v 1.50 2013/03/21 15:16:43 mlelstv Exp $
 #
 #      etc.evbarm/Makefile.inc -- evbarm-specific etc Makefile targets
 #
@@ -65,13 +65,16 @@
 
 .if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "earm" \
     || ${MACHINE_ARCH} == "earmhf"
+KERNEL_SETS+=          RPI
 BUILD_KERNELS+=                RPI_INSTALL
-KERNEL_SETS+=          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
 MKI_OPTS.smp_rpi_inst="-b"
 smp_rpi_inst: ${IMAGE.instk}/netbsd-RPI_INSTALL.bin.gz __mkimage
-.if empty(ALL_KERNELS) || !empty(ALL_KERNELS:MRPI)
-SNAP_MD_POST_DEPS+=    smp_rpi smp_rpi_inst
+.if empty(ALL_KERNELS) || !empty(ALL_KERNELS:MRPI_INSTALL)
+SNAP_MD_POST_DEPS+=    smp_rpi_inst
 .endif
 .endif
 



Home | Main Index | Thread Index | Old Index