mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 14:56:46 +02:00
pylibfdt is included in the dtc sources and allows using libfdt from Python. For some reason, the pylibfdt Makefile ignores $(DESTDIR) at the moment. Add a small patch to fix this so the Python library is installed properly. This is just temporary, the next release will introduce Meson build scripts which do not seem to have that problem.
13 lines
507 B
Diff
13 lines
507 B
Diff
diff --git a/pylibfdt/Makefile.pylibfdt b/pylibfdt/Makefile.pylibfdt
|
|
index 6866a0b..6363840 100644
|
|
--- a/pylibfdt/Makefile.pylibfdt
|
|
+++ b/pylibfdt/Makefile.pylibfdt
|
|
@@ -22,7 +22,7 @@ $(PYMODULE): $(PYLIBFDT_srcs) $(LIBFDT_archive) $(SETUP) $(VERSION_FILE)
|
|
|
|
install_pylibfdt: $(PYMODULE)
|
|
@$(VECHO) INSTALL-PYLIB
|
|
- $(PYTHON) $(SETUP) $(SETUPFLAGS) install --prefix=$(PREFIX)
|
|
+ $(PYTHON) $(SETUP) $(SETUPFLAGS) install --prefix=$(PREFIX) --root=$(DESTDIR)
|
|
|
|
pylibfdt_clean:
|
|
@$(VECHO) CLEAN "(pylibfdt)"
|