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>
This commit is contained in:
Felix Fietkau 2021-06-12 14:32:41 +02:00
parent fa0aea53b2
commit 18430a34e6
1 changed files with 2 additions and 2 deletions

View File

@ -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