]> git.sur5r.net Git - u-boot/blobdiff - tools/Makefile
dtoc: Put each phandle on a separate line
[u-boot] / tools / Makefile
index a1790ebd59b24c4d6d18d66e0b082e17063e1fc4..a0db19d6b057394d5c3872dd203c854a46f2faed 100644 (file)
@@ -131,14 +131,14 @@ fit_check_sign-objs   := $(dumpimage-mkimage-objs) fit_check_sign.o
 # all three files in $(obj)/tools: _libfdt.so, libfdt.py and libfdt_wrap.c
 # The latter is a temporary file which we could actually remove.
 tools/_libfdt.so: $(LIBFDT_SRCS) $(LIBFDT_SWIG)
-       cp $(LIBFDT_SWIG) tools/.
-       unset CC; \
+       $(Q)cp $(LIBFDT_SWIG) tools/.
+       $(Q)unset CC; \
        unset CROSS_COMPILE; \
        LDFLAGS="$(HOSTLDFLAGS)" CFLAGS= VERSION="u-boot-$(UBOOTVERSION)" \
                CPPFLAGS="$(_hostc_flags)" OBJDIR=tools \
                SOURCES="$(LIBFDT_SRCS) tools/libfdt.i" \
                SWIG_OPTS="-I$(srctree)/lib/libfdt -I$(srctree)/lib" \
-               $(libfdt_tree)/pylibfdt/setup.py --quiet build_ext \
+               $(PYTHON) $(libfdt_tree)/pylibfdt/setup.py --quiet build_ext \
                        --build-lib tools
 
 ifneq ($(CONFIG_MX23)$(CONFIG_MX28),)