diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2018-08-10 14:37:52 +1000 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2018-09-25 10:31:45 +1000 |
commit | ca399b14956f1d57fff46e4e847f1448b955d0ec (patch) | |
tree | 9f4cdd13221cf2355b5e0426b3914491ffdc0acb /pylibfdt | |
parent | 98972f1b3e33f17d290fc39e037a78b863c92cf6 (diff) | |
download | dtc-ca399b14956f1d57fff46e4e847f1448b955d0ec.zip dtc-ca399b14956f1d57fff46e4e847f1448b955d0ec.tar.gz dtc-ca399b14956f1d57fff46e4e847f1448b955d0ec.tar.bz2 |
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>
Diffstat (limited to 'pylibfdt')
-rw-r--r-- | pylibfdt/Makefile.pylibfdt | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/pylibfdt/Makefile.pylibfdt b/pylibfdt/Makefile.pylibfdt index 5fe5c82..0dc5e96 100644 --- a/pylibfdt/Makefile.pylibfdt +++ b/pylibfdt/Makefile.pylibfdt @@ -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 |