Source-Changes-HG archive

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

[src/trunk]: src/etc/etc.evbarm Only add GENERIC to earmv6 and earmv7 builds



details:   https://anonhg.NetBSD.org/src/rev/aa68fe948138
branches:  trunk
changeset: 994379:aa68fe948138
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Nov 04 21:41:12 2018 +0000

description:
Only add GENERIC to earmv6 and earmv7 builds

diffstat:

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

diffs (38 lines):

diff -r c78cf00b8b03 -r aa68fe948138 etc/etc.evbarm/Makefile.inc
--- a/etc/etc.evbarm/Makefile.inc       Sun Nov 04 20:45:21 2018 +0000
+++ b/etc/etc.evbarm/Makefile.inc       Sun Nov 04 21:41:12 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.97 2018/11/01 18:23:25 skrll Exp $
+#      $NetBSD: Makefile.inc,v 1.98 2018/11/04 21:41:12 skrll Exp $
 #
 #      etc.evbarm/Makefile.inc -- evbarm-specific etc Makefile targets
 #
@@ -24,8 +24,6 @@
 EVBARM_BOARDS.armv7hf+=                BCM5301X
 #EVBARM_BOARDS.armv7+=         BCM56340
 #EVBARM_BOARDS.armv7hf+=       BCM56340
-KERNEL_SETS.armv7+=            GENERIC
-KERNEL_SETS.armv7hf+=          GENERIC
 KERNEL_SETS.armv7+=            SUNXI
 KERNEL_SETS.armv7hf+=          SUNXI
 KERNEL_SETS.armv7+=            VEXPRESS_A15
@@ -98,8 +96,6 @@
 EVBARM_BOARDS.armv7hf+=        CUBOX
 EVBARM_BOARDS.armv7+=          CUBOX-I
 EVBARM_BOARDS.armv7hf+=        CUBOX-I
-KERNEL_SETS.armv7+=            GENERIC
-KERNEL_SETS.armv7hf+=          GENERIC
 #EVBARM_BOARDS.armv7+=         IGEPV2
 EVBARM_BOARDS.armv7+=          IMX6UL-STARTER
 EVBARM_BOARDS.armv7hf+=                IMX6UL-STARTER
@@ -179,6 +175,10 @@
 KERNEL_SETS+=          ${KERNEL_SETS.${arch}}
 .endfor
 
+.if !empty(MACHINE_ARCH:M*earmv[67])
+KERNEL_SETS+=          GENERIC
+.endif
+
 .if !empty(MACHINE_ARCH:Maarch64)
 smp_efibootaa64:
        cd ${KERNSRCDIR}/stand/efiboot/bootaa64 && ${MAKE} release



Home | Main Index | Thread Index | Old Index