pylibfdt: Don't silence setup.py when V=1
At the moment we unconditionally pass --quiet to setup.py. Change that to get more debugging output from it when V=1 is passed to make. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -5,10 +5,15 @@ PYLIBFDT_srcs = $(PYLIBFDT_srcdir)/libfdt.i
|
||||
PYMODULE = $(PYLIBFDT_objdir)/_libfdt.so
|
||||
|
||||
SETUP = $(PYLIBFDT_srcdir)/setup.py
|
||||
SETUPFLAGS =
|
||||
|
||||
ifndef V
|
||||
SETUPFLAGS += --quiet
|
||||
endif
|
||||
|
||||
define run_setup
|
||||
VERSION="$(dtc_version)"
|
||||
$(SETUP) --quiet $(1)
|
||||
$(SETUP) $(SETUPFLAGS) $(1)
|
||||
endef
|
||||
|
||||
$(PYMODULE): $(PYLIBFDT_srcs) $(LIBFDT_archive) $(SETUP)
|
||||
|
||||
Reference in New Issue
Block a user