projects
/
oweals
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08cd2c6
)
Expose EARLY_PATH as cmake flag
author
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 8 Feb 2016 12:21:37 +0000
(13:21 +0100)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 8 Feb 2016 12:45:12 +0000
(13:45 +0100)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 2718125939ec26ddb30e6a71a8d540f735dc091a..3219240cbc9bba189d7cce27fb1fec19fa707a88 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-28,6
+28,10
@@
IF(DEBUG)
ADD_DEFINITIONS(-DDEBUG -g3)
ENDIF()
+IF(EARLY_PATH)
+ ADD_DEFINITIONS(-DEARLY_PATH="${EARLY_PATH}")
+ENDIF()
+
IF(ZRAM_TMPFS)
ADD_DEFINITIONS(-DZRAM_TMPFS)
SET(SOURCES_ZRAM initd/zram.c)