apps/init: bind a conditional
authorsunghan <sh924.chang@samsung.com>
Fri, 1 Sep 2017 10:20:40 +0000 (19:20 +0900)
committersunghan <sh924.chang@samsung.com>
Mon, 4 Sep 2017 01:28:35 +0000 (10:28 +0900)
When CONFIG_SYSTEM_PREAPP_INIT is disabled, init should not be compiled.
So, bind it at Make.defs of init folder

apps/system/init/Make.defs

index eabbef8..907903a 100644 (file)
@@ -16,5 +16,6 @@
 #
 ###########################################################################
 
+ifeq ($(CONFIG_SYSTEM_PREAPP_INIT),y)
 CONFIGURED_APPS += system/init
-
+endif