Source-Changes-HG archive

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

[src/trunk]: src/sys/modules empty() wants a variable name, not a value. Thi...



details:   https://anonhg.NetBSD.org/src/rev/493acfdabc2c
branches:  trunk
changeset: 331372:493acfdabc2c
user:      riz <riz%NetBSD.org@localhost>
date:      Sat Aug 09 22:10:35 2014 +0000

description:
empty() wants a variable name, not a value.  This should un-break
the arm an mips arch builds which were broken by the previous
commit.

diffstat:

 sys/modules/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 1b275cbd66b2 -r 493acfdabc2c sys/modules/Makefile
--- a/sys/modules/Makefile      Sat Aug 09 19:06:50 2014 +0000
+++ b/sys/modules/Makefile      Sat Aug 09 22:10:35 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.137 2014/08/09 12:34:05 bad Exp $
+#      $NetBSD: Makefile,v 1.138 2014/08/09 22:10:35 riz Exp $
 
 .include <bsd.own.mk>
 
@@ -143,11 +143,11 @@
 .endif
 
 .if ${MACHINE_ARCH} == "alpha" || \
-    !empty(${MACHINE_ARCH:Mearm*}) || !empty(${MACHINE_ARCH:Marm*}) || \
+    !empty(MACHINE_ARCH:Mearm*) || !empty(MACHINE_ARCH:Marm*) || \
     ${MACHINE_ARCH} == "i386" || \
     ${MACHINE_ARCH} == "ia64" || \
     ${MACHINE_ARCH} == "hppa" || \
-    !empty(${MACHINE_ARCH:Mmips*}) || \
+    !empty(MACHINE_ARCH:Mmips*) || \
     ${MACHINE_ARCH} == "sparc" || \
     ${MACHINE_ARCH} == "sparc64" || \
     ${MACHINE_ARCH} == "x86_64"



Home | Main Index | Thread Index | Old Index