Skip to content

Commit 30db4ec

Browse files
marian-pritsaklguohan
authored andcommitted
[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 <[email protected]>
1 parent bc5bca6 commit 30db4ec

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

slave.mk

+3-4
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ distclean : .platform clean
5151
## Include other rules
5252
###############################################################################
5353

54+
ifeq ($(SONIC_ENABLE_SYNCD_RPC),y)
55+
ENABLE_SYNCD_RPC = y
56+
endif
5457

5558
include $(RULES_PATH)/config
5659
include $(RULES_PATH)/functions
@@ -67,10 +70,6 @@ ifeq ($(PASSWORD),)
6770
override PASSWORD := $(DEFAULT_PASSWORD)
6871
endif
6972

70-
ifeq ($(SONIC_ENABLE_SYNCD_RPC),y)
71-
ENABLE_SYNCD_RPC = y
72-
endif
73-
7473
MAKEFLAGS += -j $(SONIC_CONFIG_BUILD_JOBS)
7574

7675
###############################################################################

0 commit comments

Comments
 (0)