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>
(cherry picked from commit 18430a34e6)
This commit is contained in:
Felix Fietkau 2021-06-12 14:32:41 +02:00 committed by Tianling Shen
parent a00a3fa00e
commit d1536ff664
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

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