From 57fe34225206c572b5e049826505f738191e4db5 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 8 Feb 2016 13:21:37 +0100 Subject: [PATCH] Expose EARLY_PATH as cmake flag Signed-off-by: Jo-Philipp Wich --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.25.1