mirror of
https://github.com/dgibson/dtc.git
synced 2026-01-22 01:30:34 -05:00
pylibfdt: Eliminate run_setup make function
This function no longer does anything useful, so get rid of it. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
98972f1b3e
commit
ca399b1495
1 changed files with 3 additions and 7 deletions
|
|
@ -11,16 +11,12 @@ ifndef V
|
|||
SETUPFLAGS += --quiet
|
||||
endif
|
||||
|
||||
define run_setup
|
||||
$(SETUP) $(SETUPFLAGS) $(1)
|
||||
endef
|
||||
|
||||
$(PYMODULE): $(PYLIBFDT_srcs) $(LIBFDT_archive) $(SETUP) $(VERSION_FILE)
|
||||
@$(VECHO) PYMOD $@
|
||||
$(call run_setup, build_ext --build-lib=$(PYLIBFDT_objdir))
|
||||
$(SETUP) $(SETUPFLAGS) build_ext --build-lib=$(PYLIBFDT_objdir)
|
||||
|
||||
install_pylibfdt: $(PYMODULE)
|
||||
$(VECHO) INSTALL-PYLIB; \
|
||||
$(call run_setup, install $(if $(SETUP_PREFIX),--prefix=$(SETUP_PREFIX)))
|
||||
@$(VECHO) INSTALL-PYLIB
|
||||
$(SETUP) $(SETUPFLAGS) install $(if $(SETUP_PREFIX),--prefix=$(SETUP_PREFIX))
|
||||
|
||||
PYLIBFDT_cleanfiles = libfdt_wrap.c libfdt.py libfdt.pyc _libfdt.so
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue