Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/conf Add more complexity because of the path mess in the...
details: https://anonhg.NetBSD.org/src/rev/c08ba8b23276
branches: trunk
changeset: 357925:c08ba8b23276
user: christos <christos%NetBSD.org@localhost>
date: Sun Dec 03 16:36:05 2017 +0000
description:
Add more complexity because of the path mess in the dts files. Requested
by jmcneill@
diffstat:
sys/conf/dts.mk | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r 70cbea9a9694 -r c08ba8b23276 sys/conf/dts.mk
--- a/sys/conf/dts.mk Sun Dec 03 15:23:30 2017 +0000
+++ b/sys/conf/dts.mk Sun Dec 03 16:36:05 2017 +0000
@@ -1,9 +1,15 @@
-# $NetBSD: dts.mk,v 1.3 2017/09/07 21:22:19 jmcneill Exp $
+# $NetBSD: dts.mk,v 1.4 2017/12/03 16:36:05 christos Exp $
DTSARCH?=${MACHINE_CPU}
DTSGNUARCH?=${DTSARCH}
DTSPADDING?=1024
+.BEGIN:
+ @mkdir -p dts
+.for _arch in ${DTSGNUARCH}
+ @ln -sf ../$S/external/gpl2/dts/dist/arch/${_arch}/boot/dts dts/${_arch}
+.endfor
+
DTSINC?=$S/external/gpl2/dts/dist/include
.for _arch in ${DTSARCH}
DTSDIR+=$S/arch/${_arch}/dts
@@ -17,7 +23,7 @@
.endfor
.endfor
-DTSPATH=${DTSINC} ${DTSDIR}
+DTSPATH=${DTSINC} ${DTSDIR} dts
.SUFFIXES: .dtd .dtb .dts
Home |
Main Index |
Thread Index |
Old Index