Browse Source

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>
main
David Gibson 6 years ago
parent
commit
ca399b1495
  1. 10
      pylibfdt/Makefile.pylibfdt

10
pylibfdt/Makefile.pylibfdt

@ -11,16 +11,12 @@ ifndef V @@ -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…
Cancel
Save