aboutsummaryrefslogtreecommitdiff
path: root/pylibfdt
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2018-11-23 21:51:35 +1100
committerDavid Gibson <david@gibson.dropbear.id.au>2018-11-23 21:51:35 +1100
commit5182b5e6f28cbe3563ed058988801b90a97b6b70 (patch)
treeb35b4a458425acd3995d7127515ae18997560d60 /pylibfdt
parentd45bf1f5f2a6b8e46c5c600dc5879ff4662344d8 (diff)
downloaddtc-5182b5e6f28cbe3563ed058988801b90a97b6b70.zip
dtc-5182b5e6f28cbe3563ed058988801b90a97b6b70.tar.gz
dtc-5182b5e6f28cbe3563ed058988801b90a97b6b70.tar.bz2
pylibfdt: Use common PREFIX variable
For no particularly good reason, the install target for the Python library uses a different PREFIX variable to give the installation destination to the rest of dtc & libfdt. Make it use the same one. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'pylibfdt')
-rw-r--r--pylibfdt/Makefile.pylibfdt2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylibfdt/Makefile.pylibfdt b/pylibfdt/Makefile.pylibfdt
index ae8d0c8..41256fc 100644
--- a/pylibfdt/Makefile.pylibfdt
+++ b/pylibfdt/Makefile.pylibfdt
@@ -21,7 +21,7 @@ $(PYMODULE): $(PYLIBFDT_srcs) $(LIBFDT_archive) $(SETUP) $(VERSION_FILE)
install_pylibfdt: $(PYMODULE)
@$(VECHO) INSTALL-PYLIB
- $(PYTHON) $(SETUP) $(SETUPFLAGS) install $(if $(SETUP_PREFIX),--prefix=$(SETUP_PREFIX))
+ $(PYTHON) $(SETUP) $(SETUPFLAGS) install --prefix=$(PREFIX)
pylibfdt_clean:
@$(VECHO) CLEAN "(pylibfdt)"