0d809d0d59
- Why I did it New repo sonic-mgmt-common is introduced for the common translib related code. This commit adds build rules for this new repo. - How I did it Added sonic-mgmt-common submodule Added build rules for the new sonic-mgmt-common repo. It creates two deb packages -- sonic-mgmt-common_1.0.0_{arch}.deb and sonic-mgmt-common-codegen_1.0.0_{arch}.deb. Package cache is enabled. Added dependency on sonic-mgmt-common for mgmt-framework and telemetry debs and dockers. - How to verify it Full build and incremental builds Basic ACL and interface opreations through REST, KLISH CLI and gNMI - Description for the changelog Git submodule and build rules for the new sonic-mgmt-common repo.
13 lines
530 B
Plaintext
13 lines
530 B
Plaintext
|
|
SPATH := $($(SONIC_MGMT_COMMON)_SRC_PATH)
|
|
DEP_FILES := $(SONIC_COMMON_FILES_LIST) rules/sonic-mgmt-common.mk rules/sonic-mgmt-common.dep
|
|
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST)
|
|
SMDEP_FILES := $(addprefix $(SPATH)/,$(shell cd $(SPATH) && git ls-files))
|
|
|
|
$(SONIC_MGMT_COMMON)_CACHE_MODE := GIT_CONTENT_SHA
|
|
$(SONIC_MGMT_COMMON)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)
|
|
$(SONIC_MGMT_COMMON)_DEP_FILES := $(DEP_FILES)
|
|
$(SONIC_MGMT_COMMON)_SMDEP_FILES := $(SMDEP_FILES)
|
|
$(SONIC_MGMT_COMMON)_SMDEP_PATHS := $(SPATH)
|
|
|