projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
include/cmake.mk: Add helper macro to handle conditionals for CMake boolean type...
[openwrt.git]
/
include
/
cmake.mk
diff --git
a/include/cmake.mk
b/include/cmake.mk
index
a15cf3a
..
009c6c2
100644
(file)
--- a/
include/cmake.mk
+++ b/
include/cmake.mk
@@
-1,3
+1,5
@@
+cmake_bool = $(patsubst %,-D%:BOOL=$(if $($(1)),ON,OFF),$(2))
+
PKG_INSTALL:=1
ifneq ($(findstring c,$(OPENWRT_VERBOSE)),)