From: Felix Fietkau Date: Sat, 12 Jun 2021 12:32:41 +0000 (+0200) Subject: build: do not override DESTDIR for cmake ninja host builds X-Git-Tag: mikrotik~1881 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=18430a34e6a287aaf6f13a110a3202dcac3b3d1a;p=openwrt%2Fstaging%2Fchunkeey.git build: do not override DESTDIR for cmake ninja host builds The full prefix is already passed to cmake Signed-off-by: Felix Fietkau --- 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