fdt: Report libfdt error to stderr
PATCH 1/1 fdt: Report libfdt error to stderr
This error needs to go to stderr otherwise it will not be reported by buildman. Fix it.
Signed-off-by Simon Glass <[email protected]>
---
Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-)
Makefile +7 -6
@@ -1357,12 +1357,13 @@ $(timestamp_h): $(srctree)/Makefile FORCE checkbinman: tools @if ! ( echo 'import libfdt' | ( PYTHONPATH=tools python )); then \ - echo '*** binman needs the Python libfdt library. Either '; \ - echo '*** install it on your system, or try:'; \ - echo '***'; \ - echo '*** sudo apt-get install swig libpython-dev'; \ - echo '***'; \ - echo '*** to have U-Boot build its own version.'; \ + echo >&2; \ + echo >&2 '*** binman needs the Python libfdt library.'; \ + echo >&2 '*** Either install it on your system, or try:'; \ + echo >&2 '***'; \ + echo >&2 '*** sudo apt-get install swig libpython-dev'; \ + echo >&2 '***'; \ + echo >&2 '*** to have U-Boot build its own version.'; \ false; \ fi
Signature · 1 line
2.13.0.219.gdb65acc882-goog
PATCH 1/1 fdt: Report libfdt error to stderr
Hi,
Quoted 34 lines · Simon Glass
This error needs to go to stderr otherwise it will not be reported by buildman. Fix it.
Signed-off-by Simon Glass <[email protected]>---
Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-)Makefile +7
-7@@ -1357,12 +1357,13 @@ $(timestamp_h): $(srctree)/Makefile FORCE checkbinman: tools @if ! ( echo 'import libfdt' | ( PYTHONPATH=tools python )); then \ - echo '*** binman needs the Python libfdt library. Either '; \ - echo '*** install it on your system, or try:'; \ - echo '***'; \ - echo '*** sudo apt-get install swig libpython-dev'; \ - echo '***'; \ - echo '*** to have U-Boot build its own version.'; \ + echo >&2; \ + echo >&2 '*** binman needs the Python libfdt library.'; \ + echo >&2 '*** Either install it on your system, or try:'; \ + echo >&2 '***'; \ + echo >&2 '*** sudo apt-get install swig libpython-dev'; \ + echo >&2 '***'; \ + echo >&2 '*** to have U-Boot build its own version.'; \ false; \ fi --
Quoted 2 lines
2.13.0.219.gdb65acc882-goog
I have squashed this into 'fdt: Makefile: Build python libfdt library if needed' since it fixes up that patch.
Applied to u-boot-fdt.