Module Name:    src
Committed By:   jakllsch
Date:           Fri May 25 19:48:12 UTC 2018

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

Log Message:
Compile dtbs with -@ so that fdtoverlay(1) et.al. can symbolically
reference phandles.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 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.8 src/sys/conf/dts.mk:1.9
--- src/sys/conf/dts.mk:1.8	Sun Dec 10 14:29:47 2017
+++ src/sys/conf/dts.mk	Fri May 25 19:48:12 2018
@@ -1,4 +1,4 @@
-# $NetBSD: dts.mk,v 1.8 2017/12/10 14:29:47 christos Exp $
+# $NetBSD: dts.mk,v 1.9 2018/05/25 19:48:12 jakllsch Exp $
 
 DTSARCH?=${MACHINE_CPU}
 DTSGNUARCH?=${DTSARCH}
@@ -33,7 +33,7 @@ DTSPATH=${DTSINC} ${DTSDIR} dts
 	(${CPP} -P -xassembler-with-cpp ${DTSPATH:@v@-I ${v}@} \
 	    -include ${.IMPSRC} /dev/null | \
 	${TOOL_DTC} ${DTSPATH:@v@-i ${v}@} -I dts -O dtb \
-	    -p ${DTSPADDING} -b 0 -o /dev/null -d /dev/stdout | \
+	    -p ${DTSPADDING} -b 0 -@ -o /dev/null -d /dev/stdout | \
 	${TOOL_SED} -e 's@/dev/null@${.TARGET:.dtd=.dtb}@' \
 	    -e 's@<stdin>@${.IMPSRC}@' && \
 	${CPP} -P -xassembler-with-cpp ${DTSPATH:@v@-I ${v}@} \
@@ -46,7 +46,7 @@ DTSPATH=${DTSINC} ${DTSDIR} dts
 	${CPP} -P -xassembler-with-cpp ${DTSPATH:@v@-I ${v}@} \
 	    -include ${.IMPSRC} /dev/null | \
 	${TOOL_DTC} ${DTSPATH:@v@-i ${v}@} -I dts -O dtb \
-	    -p ${DTSPADDING} -b 0 -o ${.TARGET}
+	    -p ${DTSPADDING} -b 0 -@ -o ${.TARGET}
 
 .PATH.dts: ${DTSDIR}
 

Reply via email to