mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 02:37:15 +00:00
dtb: Be much less verbose in the building of dtb
Make the dtb/dtbo files with less noise. Remove echo statements, but add back the call for the non-meta builds to replace the removed noise. Suggetions by: jrtc27 Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D37073
This commit is contained in:
parent
c07be2c53e
commit
25b1b63dba
|
@ -38,12 +38,10 @@ DTBO=${DTSO:T:R:S/$/.dtbo/}
|
|||
.export DTC ECHO
|
||||
|
||||
.dts.dtb: ${OP_META}
|
||||
@${ECHO} Generating ${.TARGET} from ${.IMPSRC}
|
||||
@${SYSDIR}/tools/fdt/make_dtb.sh ${SYSDIR} ${.IMPSRC} ${.OBJDIR}
|
||||
${SYSDIR}/tools/fdt/make_dtb.sh ${SYSDIR} ${.IMPSRC} ${.OBJDIR}
|
||||
|
||||
.dtso.dtbo: ${OP_META}
|
||||
@${ECHO} Generating ${.TARGET} from ${.IMPSRC}
|
||||
@${SYSDIR}/tools/fdt/make_dtbo.sh ${SYSDIR} ${.IMPSRC} ${.OBJDIR}
|
||||
${SYSDIR}/tools/fdt/make_dtbo.sh ${SYSDIR} ${.IMPSRC} ${.OBJDIR}
|
||||
|
||||
# Add dependencies on the source file so that out-of-tree things can be included
|
||||
# without any .PATH additions.
|
||||
|
|
|
@ -22,7 +22,6 @@ fi
|
|||
|
||||
for d in ${dts}; do
|
||||
dtb="${dtb_path}/$(basename "$d" .dts).dtb"
|
||||
${ECHO} "converting $d -> $dtb"
|
||||
${CPP} -P -x assembler-with-cpp -I "$S/dts/include" -I "$S/contrib/device-tree/include" -I "$S/dts/${MACHINE}" -I "$S/contrib/device-tree/src/${MACHINE}" -I "$S/contrib/device-tree/src/" -include "$d" -include "$S/dts/freebsd-compatible.dts" /dev/null |
|
||||
${DTC} -@ -O dtb -o "$dtb" -b 0 -p 1024 -i "$S/dts/${MACHINE}" -i "$S/contrib/device-tree/src/${MACHINE}" -i "$S/contrib/device-tree/src/"
|
||||
done
|
||||
|
|
|
@ -22,7 +22,6 @@ fi
|
|||
|
||||
for d in ${dtso}; do
|
||||
dtb="${dtbo_path}/$(basename "$d" .dtso).dtbo"
|
||||
${ECHO} "converting $d -> $dtb"
|
||||
${CPP} -P -x assembler-with-cpp -I "$S/contrib/device-tree/include" -I "$S/dts/${MACHINE}" -I "$S/contrib/device-tree/src/${MACHINE}" -include "$d" /dev/null |
|
||||
${DTC} -@ -O dtb -o "$dtb" -i "$S/dts/${MACHINE}" -i "$S/contrib/device-tree/src/${MACHINE}"
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue