projects
/
openwrt
/
staging
/
linusw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa0aea5
)
build: do not override DESTDIR for cmake ninja host builds
author
Felix Fietkau
<nbd@nbd.name>
Sat, 12 Jun 2021 12:32:41 +0000
(14:32 +0200)
committer
Felix 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
patch
|
blob
|
history
diff --git
a/include/cmake.mk
b/include/cmake.mk
index 7ccd872365192b57b11d962d57fa208d4a6ede61..b38d44003912a5466181cc671fdda80940f40057 100644
(file)
--- 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