From 30db4ec1911914858fe853b191b73c71b89043fe Mon Sep 17 00:00:00 2001 From: Marian Pritsak Date: Fri, 9 Jun 2017 04:24:28 +0300 Subject: [PATCH] [slave.mk]: Move initialization of ENABLE_SYNCD_RPC up (#680) ENABLE_SYNCD_RPC should be initialized before all recipes are included in order for them to be able to use this variable Signed-off-by: marian-pritsak --- slave.mk | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/slave.mk b/slave.mk index d17aea5722cc..40f3d617c081 100644 --- a/slave.mk +++ b/slave.mk @@ -51,6 +51,9 @@ distclean : .platform clean ## Include other rules ############################################################################### +ifeq ($(SONIC_ENABLE_SYNCD_RPC),y) +ENABLE_SYNCD_RPC = y +endif include $(RULES_PATH)/config include $(RULES_PATH)/functions @@ -67,10 +70,6 @@ ifeq ($(PASSWORD),) override PASSWORD := $(DEFAULT_PASSWORD) endif -ifeq ($(SONIC_ENABLE_SYNCD_RPC),y) -ENABLE_SYNCD_RPC = y -endif - MAKEFLAGS += -j $(SONIC_CONFIG_BUILD_JOBS) ###############################################################################