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>main
parent
7691f9d393
commit
7ba2be6cda
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue