build: do not override DESTDIR for cmake ninja host builds
authorFelix Fietkau <nbd@nbd.name>
Sat, 12 Jun 2021 12:32:41 +0000 (14:32 +0200)
committerFelix Fietkau <nbd@nbd.name>
Sat, 12 Jun 2021 12:33:57 +0000 (14:33 +0200)
The full prefix is already passed to cmake

Signed-off-by: Felix Fietkau <nbd@nbd.name>
include/cmake.mk

index 7ccd872365192b57b11d962d57fa208d4a6ede61..b38d44003912a5466181cc671fdda80940f40057 100644 (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