Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Fix config(1) errors and warnings.



details:   https://anonhg.NetBSD.org/src/rev/67cbf5179891
branches:  trunk
changeset: 345062:67cbf5179891
user:      rjs <rjs%NetBSD.org@localhost>
date:      Thu May 05 21:14:14 2016 +0000

description:
Fix config(1) errors and warnings.

Set up arm headers for the build.

diffstat:

 sys/arch/aarch64/conf/Makefile.aarch64 |  12 +++++++++++-
 sys/arch/evbarm64/conf/std.a64emul     |   4 ++--
 sys/arch/evbarm64/conf/std.evbarm64    |   4 +---
 3 files changed, 14 insertions(+), 6 deletions(-)

diffs (50 lines):

diff -r f65130f49dee -r 67cbf5179891 sys/arch/aarch64/conf/Makefile.aarch64
--- a/sys/arch/aarch64/conf/Makefile.aarch64    Thu May 05 17:40:26 2016 +0000
+++ b/sys/arch/aarch64/conf/Makefile.aarch64    Thu May 05 21:14:14 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.aarch64,v 1.6 2015/08/24 14:04:24 uebayasi Exp $
+#      $NetBSD: Makefile.aarch64,v 1.7 2016/05/05 21:14:14 rjs Exp $
 
 # Makefile for NetBSD
 #
@@ -88,6 +88,16 @@
 ## (7) misc settings
 ##
 
+# define .MAIN _before_ the make() check, so that implicit target
+# would be defined
+.MAIN: all
+
+.if make(depend) || make(all) || make(dependall)
+.BEGIN:
+       @rm -f arm && \
+               ln -s $S/arch/arm/include arm
+.endif
+
 ##
 ## (8) config(8) generated machinery
 ##
diff -r f65130f49dee -r 67cbf5179891 sys/arch/evbarm64/conf/std.a64emul
--- a/sys/arch/evbarm64/conf/std.a64emul        Thu May 05 17:40:26 2016 +0000
+++ b/sys/arch/evbarm64/conf/std.a64emul        Thu May 05 21:14:14 2016 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: std.a64emul,v 1.1 2014/08/10 05:47:38 matt Exp $
+# $NetBSD: std.a64emul,v 1.2 2016/05/05 21:14:15 rjs Exp $
 
-machine evbarm64 aarch64 arm
+machine evbarm64 aarch64
 maxpartitions  16
 
 include "arch/evbarm64/conf/std.evbarm64"
diff -r f65130f49dee -r 67cbf5179891 sys/arch/evbarm64/conf/std.evbarm64
--- a/sys/arch/evbarm64/conf/std.evbarm64       Thu May 05 17:40:26 2016 +0000
+++ b/sys/arch/evbarm64/conf/std.evbarm64       Thu May 05 21:14:14 2016 +0000
@@ -1,7 +1,5 @@
-#      $NetBSD: std.evbarm64,v 1.2 2015/05/07 19:14:56 mrg Exp $
+#      $NetBSD: std.evbarm64,v 1.3 2016/05/05 21:14:15 rjs Exp $
 
 include                "conf/std"
 include                "arch/aarch64/conf/std.aarch64" # arch standard options
 
-options        CHILD_MAX=1024  # 160 is too few
-options        OPEN_MAX=1024   # 128 is too few



Home | Main Index | Thread Index | Old Index