project: Enable kaslr support
The enable/disable flag is set based on device's BoardConfig.mk
file var KASLRSEED_SUPPORT.
Change-Id: I5492b6ccd2460123b53df710abb2d3eb5872a1bf
diff --git a/makefile b/makefile
index f4e7c19..f52f698 100644
--- a/makefile
+++ b/makefile
@@ -141,6 +141,13 @@
DEFINES += USE_LE_SYSTEMD=0
endif
+#Enable kaslr seed support
+ifeq ($(ENABLE_KASLRSEED),1)
+ DEFINES += ENABLE_KASLRSEED_SUPPORT=1
+else
+ DEFINES += ENABLE_KASLRSEED_SUPPORT=0
+endif
+
# these need to be filled out by the project/target/platform rules.mk files
TARGET :=
PLATFORM :=