Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scripts: dtc: Fetch fdtoverlay.c from external DTC project

We will start building overlays for platforms soon in the kernel and
would need fdtoverlay tool going forward. Lets start fetching it.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/28f66f70602225bb6aeb58e924c20bde9d864327.1611904394.git.viresh.kumar@linaro.org

authored by

Viresh Kumar and committed by
Rob Herring
b775f49f 5c8fe583

+2 -1
+2 -1
scripts/dtc/update-dtc-source.sh
··· 37 37 LIBFDT_SOURCE="fdt.c fdt.h fdt_addresses.c fdt_empty_tree.c \ 38 38 fdt_overlay.c fdt_ro.c fdt_rw.c fdt_strerror.c fdt_sw.c \ 39 39 fdt_wip.c libfdt.h libfdt_env.h libfdt_internal.h" 40 + FDTOVERLAY_SOURCE=fdtoverlay.c 40 41 41 42 get_last_dtc_version() { 42 43 git log --oneline scripts/dtc/ | grep 'upstream' | head -1 | sed -e 's/^.* \(.*\)/\1/' ··· 55 54 56 55 # Copy the files into the Linux tree 57 56 cd $DTC_LINUX_PATH 58 - for f in $DTC_SOURCE; do 57 + for f in $DTC_SOURCE $FDTOVERLAY_SOURCE; do 59 58 cp ${DTC_UPSTREAM_PATH}/${f} ${f} 60 59 git add ${f} 61 60 done