aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Maier <brandon.maier@gmail.com>2024-06-24 19:19:11 -0500
committerDavid Gibson <david@gibson.dropbear.id.au>2024-06-26 11:38:31 +1000
commitff4f17eb58650784ffb2e8a8fbefebce1038f80b (patch)
treef4332e5a161cd94b45ab52de3b819a7ce2ee466a
parent9e313b14e684bf7c9a12e989c2330f7533650cda (diff)
downloaddtc-ff4f17eb58650784ffb2e8a8fbefebce1038f80b.zip
dtc-ff4f17eb58650784ffb2e8a8fbefebce1038f80b.tar.gz
dtc-ff4f17eb58650784ffb2e8a8fbefebce1038f80b.tar.bz2
pylibfdt/Makefile.pylibfdt: fix Python library being rebuild during install
The Python module gets built during the 'make install' command even if 'make all' was run prior for build. This is the same issue as described in the previous commit "pylibfdt/meson.build: fix Python library being rebuilt during install". Remove the '--build-lib' flag so setuptools can find the build module. Signed-off-by: Brandon Maier <brandon.maier@gmail.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r--pylibfdt/Makefile.pylibfdt2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylibfdt/Makefile.pylibfdt b/pylibfdt/Makefile.pylibfdt
index 82f565e..eee1701 100644
--- a/pylibfdt/Makefile.pylibfdt
+++ b/pylibfdt/Makefile.pylibfdt
@@ -17,7 +17,7 @@ endif
$(PYMODULE): $(PYLIBFDT_srcs) $(LIBFDT_archive) $(SETUP)
@$(VECHO) PYMOD $@
- $(PYTHON) $(SETUP) $(SETUPFLAGS) build_ext --build-lib=$(PYLIBFDT_dir)
+ $(PYTHON) $(SETUP) $(SETUPFLAGS) build_ext
install_pylibfdt: $(PYMODULE)
@$(VECHO) INSTALL-PYLIB