projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4943dc2
)
tools: Correct python building host tools
author
Tom Rini
<
[email protected]
>
Mon, 23 Jan 2017 16:44:33 +0000
(11:44 -0500)
committer
Tom Rini
<
[email protected]
>
Tue, 24 Jan 2017 15:35:56 +0000
(10:35 -0500)
When we have python building tools for the host it will not check HOSTXX
variables but only XX variables, for example LDFLAGS and not
HOSTLDFLAGS.
Cc: Simon Glass <
[email protected]
>
Reported-by: Heiko Schocher <
[email protected]
>
Fixes: 1905c8fc711a ("build: Always build the libfdt python module")
Signed-off-by: Tom Rini <
[email protected]
>
Reviewed-by: Simon Glass <
[email protected]
>
Tested-by: Simon Glass <
[email protected]
>
Tested-by: Heiko Schocher <
[email protected]
>
tools/Makefile
patch
|
blob
|
history
diff --git
a/tools/Makefile
b/tools/Makefile
index a609d058595b8584380a67902f13e175d77c2839..cefcedf683ca6698bb5ace7de77f444f9eb453c8 100644
(file)
--- a/
tools/Makefile
+++ b/
tools/Makefile
@@
-117,7
+117,8
@@
_libfdt.so-sharedobjs += $(LIBFDT_OBJS)
libfdt:
tools/_libfdt.so: $(patsubst %.o,%.c,$(LIBFDT_OBJS)) tools/libfdt_wrap.c
- python $(srctree)/lib/libfdt/setup.py "$(_hostc_flags)" $^
+ LDFLAGS="$(HOSTLDFLAGS)" python $(srctree)/lib/libfdt/setup.py \
+ "$(_hostc_flags)" $^
mv _libfdt.so $@
tools/libfdt_wrap.c: $(srctree)/lib/libfdt/libfdt.swig