From: Jo-Philipp Wich Date: Mon, 8 Feb 2016 12:21:37 +0000 (+0100) Subject: Expose EARLY_PATH as cmake flag X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=57fe34225206c572b5e049826505f738191e4db5;p=project%2Fprocd.git Expose EARLY_PATH as cmake flag Signed-off-by: Jo-Philipp Wich --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 2718125..3219240 100644 --- 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)