aboutsummaryrefslogtreecommitdiff
path: root/sys/tools
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2018-11-09 18:56:40 +0000
committerKyle Evans <kevans@FreeBSD.org>2018-11-09 18:56:40 +0000
commit13cf5074d039cca3222e0996d0f4d40034a80592 (patch)
treee2c204459fdf63fc401915b5bed33bb6f2d44e33 /sys/tools
parente8bd280446b74afa982853f8feb2a1068cd1fce1 (diff)
downloadsrc-13cf5074d039cca3222e0996d0f4d40034a80592.tar.gz
src-13cf5074d039cca3222e0996d0f4d40034a80592.zip
Use ${ECHO} in dtb/dtbo build, pass in from dtb.mk for -s
Reported by: sbruno MFC after: 3 days
Notes
Notes: svn path=/head/; revision=340297
Diffstat (limited to 'sys/tools')
-rwxr-xr-xsys/tools/fdt/make_dtb.sh3
-rwxr-xr-xsys/tools/fdt/make_dtbo.sh3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/tools/fdt/make_dtb.sh b/sys/tools/fdt/make_dtb.sh
index cb1d2d76441d..a7f5a183c17c 100755
--- a/sys/tools/fdt/make_dtb.sh
+++ b/sys/tools/fdt/make_dtb.sh
@@ -17,10 +17,11 @@ if [ -z "${MACHINE}" ]; then
fi
: ${DTC:=dtc}
+: ${ECHO:=echo}
for d in ${dts}; do
dtb=${dtb_path}/`basename $d .dts`.dtb
- echo "converting $d -> $dtb"
+ ${ECHO} "converting $d -> $dtb"
cpp -P -x assembler-with-cpp -I $S/gnu/dts/include -I $S/dts/${MACHINE} -I $S/gnu/dts/${MACHINE} -I $S/gnu/dts/ -include $d /dev/null |
${DTC} -@ -O dtb -o $dtb -b 0 -p 1024 -i $S/dts/${MACHINE} -i $S/gnu/dts/${MACHINE} -i $S/gnu/dts/
done
diff --git a/sys/tools/fdt/make_dtbo.sh b/sys/tools/fdt/make_dtbo.sh
index 3a438ac5d5aa..eb1ec1ed3180 100755
--- a/sys/tools/fdt/make_dtbo.sh
+++ b/sys/tools/fdt/make_dtbo.sh
@@ -17,10 +17,11 @@ if [ -z "${MACHINE}" ]; then
fi
: ${DTC:=dtc}
+: ${ECHO:=echo}
for d in ${dtso}; do
dtb=${dtbo_path}/`basename $d .dtso`.dtbo
- echo "converting $d -> $dtb"
+ ${ECHO} "converting $d -> $dtb"
cpp -P -x assembler-with-cpp -I $S/gnu/dts/include -I $S/dts/${MACHINE} -I $S/gnu/dts/${MACHINE} -include $d /dev/null |
${DTC} -@ -O dtb -o $dtb -i $S/dts/${MACHINE} -i $S/gnu/dts/${MACHINE}
done