Module Name:    src
Committed By:   christos
Date:           Sun Dec  3 16:36:05 UTC 2017

Modified Files:
        src/sys/conf: dts.mk

Log Message:
Add more complexity because of the path mess in the dts files. Requested
by jmcneill@


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/conf/dts.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/conf/dts.mk
diff -u src/sys/conf/dts.mk:1.3 src/sys/conf/dts.mk:1.4
--- src/sys/conf/dts.mk:1.3	Thu Sep  7 17:22:19 2017
+++ src/sys/conf/dts.mk	Sun Dec  3 11:36:05 2017
@@ -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 @@ DTSDIR+=$S/external/gpl2/dts/dist/arch/$
 .endfor
 .endfor
 
-DTSPATH=${DTSINC} ${DTSDIR}
+DTSPATH=${DTSINC} ${DTSDIR} dts
 
 .SUFFIXES: .dtd .dtb .dts
 

Reply via email to