scripts/dtc: fix update-dtc-source.sh for barebox use
Unlike Linux:
- barebox' scripts/gen-dtb-s has a dependency on fdget,
  thus change the script to copy fdget.c as part of the update.
- has the libfdt source files in the same directory as the rest
- we don't have/need Makefile.libfdt

Adjust the update-dtc-source.sh script to account for this, so
it can be used to update the scripts/dtc directory. To do so, run
the script while its directory is otherwise empty.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 3c2dee2 commit 856d979f9a940c6094e3fe5b122989d6bdf8840c
@Ahmad Fatoum Ahmad Fatoum authored on 19 Feb 2019
Sascha Hauer committed on 20 Feb 2019
Showing 1 changed file
View
scripts/dtc/update-dtc-source.sh