Source-Changes-HG archive

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

[src/trunk]: src/sys/conf Compile dtbs with -@ so that fdtoverlay(1) et.al. c...



details:   https://anonhg.NetBSD.org/src/rev/9046c35361e6
branches:  trunk
changeset: 322959:9046c35361e6
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Fri May 25 19:48:12 2018 +0000

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

diffstat:

 sys/conf/dts.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c60ec83a25c3 -r 9046c35361e6 sys/conf/dts.mk
--- a/sys/conf/dts.mk   Fri May 25 16:30:03 2018 +0000
+++ b/sys/conf/dts.mk   Fri May 25 19:48:12 2018 +0000
@@ -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 @@
        (${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 @@
        ${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}
 



Home | Main Index | Thread Index | Old Index