Skip to contentSkip to conversation

Makefile: Quiesce libfdt build

PATCH New Bin Meng 2 participants 4 messages Sep 3, 2017 – Sep 4, 2017

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

PATCH 1/2 Makefile: Quiesce libfdt build

Since commit 3809e302 "Makefile: honor PYTHON configuration properly", the build commands of libfdt are printed while previously were not.

This adds the missing '--quiet' back.

---

 tools/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/Makefile +1 -1
index 086c533..5605fa7 100644
@@ -138,7 +138,7 @@ tools/_libfdt.so: $(LIBFDT_SRCS) $(LIBFDT_SWIG)
 		CPPFLAGS="$(_hostc_flags)" OBJDIR=tools \
 		SOURCES="$(LIBFDT_SRCS) tools/libfdt.i" \
 		SWIG_OPTS="-I$(srctree)/lib/libfdt -I$(srctree)/lib" \
-		$(PYTHON) $(libfdt_tree)/pylibfdt/setup.py build_ext \
+		$(PYTHON) $(libfdt_tree)/pylibfdt/setup.py --quiet build_ext \
 			--build-lib tools
 
 ifneq ($(CONFIG_MX23)$(CONFIG_MX28),)
Signature · 1 line
2.9.2
author
#1 lore raw

PATCH 2/2 Makefile: Suppress output of python libfdt build command

This should not be printed by default. Prefix it with $(Q).

Fixes ee95d10b: ("fdt: Build the new python libfdt module")

---

 tools/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/Makefile +2 -2
index 5605fa7..a0db19d 100644
@@ -131,8 +131,8 @@ 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 \
Signature · 1 line
2.9.2
#2 lore raw

PATCH 2/2 Makefile: Suppress output of python libfdt build command

Quoted 4 lines · Bin Meng

This should not be printed by default. Prefix it with $(Q).

Fixes ee95d10b: ("fdt: Build the new python libfdt module")

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170903/29d1f6e5/attachment.sig>
#3 lore raw

PATCH 1/2 Makefile: Quiesce libfdt build

In reply to Bin Meng
Quoted 6 lines · Bin Meng

Since commit 3809e302 "Makefile: honor PYTHON configuration properly", the build commands of libfdt are printed while previously were not.

This adds the missing '--quiet' back.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170903/53ae8d2b/attachment.sig>