Source-Changes-HG archive

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

[src/trunk]: src/distrib/evbarm/instkernel/instkernel Split ARMv6 and ARMv7 k...



details:   https://anonhg.NetBSD.org/src/rev/08b1637ba11c
branches:  trunk
changeset: 793911:08b1637ba11c
user:      matt <matt%NetBSD.org@localhost>
date:      Sat Mar 01 01:53:36 2014 +0000

description:
Split ARMv6 and ARMv7 kernels.
Handle armeb properly.
Add CUBIEBOARD

diffstat:

 distrib/evbarm/instkernel/instkernel/Makefile |  22 ++++++++++++++++------
 1 files changed, 16 insertions(+), 6 deletions(-)

diffs (50 lines):

diff -r c823c81bdfc7 -r 08b1637ba11c distrib/evbarm/instkernel/instkernel/Makefile
--- a/distrib/evbarm/instkernel/instkernel/Makefile     Sat Mar 01 01:52:13 2014 +0000
+++ b/distrib/evbarm/instkernel/instkernel/Makefile     Sat Mar 01 01:53:36 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.23 2013/08/30 10:13:39 skrll Exp $
+#      $NetBSD: Makefile,v 1.24 2014/03/01 01:53:36 matt Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -11,7 +11,6 @@
 .if ${MACHINE_ARCH} == "arm"
 # Little endian platforms.
 MDSETTARGETS=          ADI_BRH_INSTALL         ${RAMDISK}      -       \
-                       BCM5301X_INSTALL        ${RAMDISK}      -       \
                        CP3100_INSTALL          ${RAMDISK}      -       \
                        GEMINI_INSTALL          ${RAMDISK}      -       \
                        GUMSTIX_INSTALL         ${RAMDISK}      -       \
@@ -23,7 +22,7 @@
                        TS7200_INSTALL          ${RAMDISK}      -       \
                        TEAMASA_NPWR_INSTALL    ${RAMDISK}      -       \
                        KUROBOX_PRO_INSTALL     ${RAMDISK}      -
-.else
+.elif ${MACHINE_ARCH} == "armeb"
 # Big endian platforms.
 MDSETTARGETS=          ADI_BRH_INSTALL         ${RAMDISK}      -
 .endif
@@ -34,9 +33,20 @@
     ${MACHINE_ARCH} == "earmhf" || \
     ${MACHINE_ARCH} == "earmv6" || \
     ${MACHINE_ARCH} == "earmv6hf"
-# Little endian (any ABI) platforms.
-MDSETTARGETS+=         RPI_INSTALL             ${SSHRAMDISK}   -       \
-                       BEAGLEBONE_INSTALL      ${RAMDISK}      -
+# Little endian (any ABI) ARMv6 platforms.
+MDSETTARGETS+=         RPI_INSTALL             ${SSHRAMDISK}   -
+.endif
+
+.if \
+    ${MACHINE_ARCH} == "arm" || \
+    ${MACHINE_ARCH} == "earm" || \
+    ${MACHINE_ARCH} == "earmhf" || \
+    ${MACHINE_ARCH} == "earmv7" || \
+    ${MACHINE_ARCH} == "earmv7hf"
+# Little endian (any ABI) ARMv7 platforms.
+MDSETTARGETS+=         BCM5301X_INSTALL        ${RAMDISK}      -       \
+                       BEAGLEBONE_INSTALL      ${RAMDISK}      -       \
+                       CUBIEBOARD_INSTALL      ${RAMDISK}      -
 .endif
 
 MDSET_RELEASEDIR=      installation/instkernel



Home | Main Index | Thread Index | Old Index