aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-06-12 14:32:41 +0200
committerFelix Fietkau <nbd@nbd.name>2021-06-12 14:33:57 +0200
commit18430a34e6a287aaf6f13a110a3202dcac3b3d1a (patch)
tree801c39a8b8cf35beefb6e79924ba64e521ef23db /include
parentfa0aea53b2f1dccc2073efac8020151960d25513 (diff)
downloadupstream-18430a34e6a287aaf6f13a110a3202dcac3b3d1a.tar.gz
upstream-18430a34e6a287aaf6f13a110a3202dcac3b3d1a.tar.bz2
upstream-18430a34e6a287aaf6f13a110a3202dcac3b3d1a.zip
build: do not override DESTDIR for cmake ninja host builds
The full prefix is already passed to cmake Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'include')
-rw-r--r--include/cmake.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cmake.mk b/include/cmake.mk
index 7ccd872365..b38d440039 100644
--- a/include/cmake.mk
+++ b/include/cmake.mk
@@ -60,11 +60,11 @@ ifeq ($(HOST_USE_NINJA),1)
endef
define Host/Install/Default
- +DESTDIR="$(HOST_INSTALL_DIR)" $(NINJA) -C $(HOST_BUILD_DIR) install
+ +$(NINJA) -C $(HOST_BUILD_DIR) install
endef
define Host/Uninstall/Default
- +DESTDIR="$(HOST_INSTALL_DIR)" $(NINJA) -C $(HOST_BUILD_DIR) uninstall
+ +$(NINJA) -C $(HOST_BUILD_DIR) uninstall
endef
endif