Skip to content

Commit

Permalink
[slave.mk]: Move initialization of ENABLE_SYNCD_RPC up (#680)
Browse files Browse the repository at this point in the history
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 <marianp@mellanox.com>
  • Loading branch information
marian-pritsak authored and lguohan committed Jun 9, 2017
1 parent bc5bca6 commit 30db4ec
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions slave.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)

###############################################################################
Expand Down

0 comments on commit 30db4ec

Please sign in to comment.