Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/sysinst After RELEASEMACHINEDIR has the right defau...



details:   https://anonhg.NetBSD.org/src/rev/44c41d2757ee
branches:  trunk
changeset: 966486:44c41d2757ee
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Oct 31 09:44:13 2019 +0000

description:
After RELEASEMACHINEDIR has the right defaults now, simplify subdir settings
and do not hardcode any architecture exceptions.

diffstat:

 usr.sbin/sysinst/Makefile.inc |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (22 lines):

diff -r 77cb0548cc8e -r 44c41d2757ee usr.sbin/sysinst/Makefile.inc
--- a/usr.sbin/sysinst/Makefile.inc     Thu Oct 31 06:43:19 2019 +0000
+++ b/usr.sbin/sysinst/Makefile.inc     Thu Oct 31 09:44:13 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.27 2019/10/13 07:28:21 mrg Exp $
+#      $NetBSD: Makefile.inc,v 1.28 2019/10/31 09:44:13 martin Exp $
 #
 # Makefile for sysinst
 
@@ -74,10 +74,8 @@
                ${NODISKLABEL:D-DNO_DISKLABEL} \
                ${NOPARTMAN:D-DNO_PARTMAN}
 
-.if ${MACHINE} == "evbarm" \
-    || ${MACHINE} == "evbmips" \
-    || ${MACHINE} == "evbsh3"
-CPPFLAGS+=     -DARCH_SUBDIR="\"${MACHINE}-${MACHINE_ARCH}\""
+.if ${RELEASEMACHINEDIR} != ${MACHINE}
+CPPFLAGS+=     -DARCH_SUBDIR="\"${RELEASEMACHINEDIR}\""
 CPPFLAGS+=     -DPKG_ARCH_SUBDIR="\"${MACHINE_ARCH}\""
 .endif
 



Home | Main Index | Thread Index | Old Index