Source-Changes-HG archive

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

[src/trunk]: src/etc/etc.ofppc build GENERIC64 only on ofppc64 (doesn't build...



details:   https://anonhg.NetBSD.org/src/rev/3d1f6cd958c8
branches:  trunk
changeset: 846473:3d1f6cd958c8
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Nov 18 01:11:14 2019 +0000

description:
build GENERIC64 only on ofppc64 (doesn't build, but a least fails
somewhat sanely, instead of trying to build the wrong things.)

diffstat:

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

diffs (28 lines):

diff -r 2d2ec2c74c96 -r 3d1f6cd958c8 etc/etc.ofppc/Makefile.inc
--- a/etc/etc.ofppc/Makefile.inc        Sun Nov 17 22:53:33 2019 +0000
+++ b/etc/etc.ofppc/Makefile.inc        Mon Nov 18 01:11:14 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.9 2008/05/01 01:58:10 garbled Exp $
+#      $NetBSD: Makefile.inc,v 1.10 2019/11/18 01:11:14 mrg Exp $
 #
 #      etc.ofppc/Makefile.inc -- ofppc-specific etc Makefile targets
 #
@@ -6,10 +6,18 @@
 # If you change the list of distributed kernels, don't forget
 # to update the release documentation in distrib/notes/common/contents
 
+.if ${MACHINE_ARCH} == "powerpc"
+
 KERNEL_SETS=           GENERIC
 
 BUILD_KERNELS+=                INSTALL
 
+.else
+
+KERNEL_SETS=           GENERIC64
+
+.endif
+
 MD_INSTALLATION_DIRS=  installation/netboot
 
 INSTALLATION_DIRS+=    ${MD_INSTALLATION_DIRS}



Home | Main Index | Thread Index | Old Index