sonic-buildimage/rules/wpasupplicant.dep
Ze Gan c22575218a
[docker-macsec]: MACsec container and wpa_supplicant component (#5700)
The HLD about MACsec feature is at :

https://github.com/Azure/SONiC/blob/master/doc/macsec/MACsec_hld.md

- How to verify it
This PR doesn't set MACsec container automatically start, You should manually start the container by docker run docker-macsec
wpa_supplicant binary can be found at MACsec container.
This PR depends on the PR, WPA_SUPPLICANT, and The MACsec container will be set as automatically start by later PR.

Signed-off-by: zegan <zegan@microsoft.com>
2021-01-10 10:39:59 -08:00

17 lines
845 B
Plaintext

SPATH := $($(WPASUPPLICANT)_SRC_PATH)
DEP_FILES := $(SONIC_COMMON_FILES_LIST) rules/wpasupplicant.mk rules/wpasupplicant.dep
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST)
# Account files under the src/wpasupplicant/ except submodule directory.
DEP_FILES += $(shell git ls-files $(SPATH) | grep -Ev 'sonic-wpa-supplicant')
# Account for source files under the sonic-wpa-supplicant submodule directory as well.
WPASUPPLICANT_SPATH := $(SPATH)/sonic-wpa-supplicant
SMDEP_FILES := $(addprefix $(WPASUPPLICANT_SPATH)/,$(shell cd $(WPASUPPLICANT_SPATH) && git ls-files))
$(WPASUPPLICANT)_CACHE_MODE := GIT_CONTENT_SHA
$(WPASUPPLICANT)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)
$(WPASUPPLICANT)_DEP_FILES := $(DEP_FILES)
$(WPASUPPLICANT)_SMDEP_FILES := $(SMDEP_FILES)
$(WPASUPPLICANT)_SMDEP_PATHS := $(WPASUPPLICANT_SPATH)