sonic-buildimage/rules/flashrom.dep
Santhosh Kumar T f8eb5b0958
Flashrom refactoring for broadcom platforms (#7693)
#### Why I did it
- To build flashrom properly with dependency tracking.

#### How I did it
- Moved flashrom code from platform/broadcom/sonic-platform-modules-dell/tools directory to src/flashrom directory.
- At the end, flashrom_0.9.7_amd64.deb package is build which will be installed in the devices.
- Currently flashrom builds only for Dell S6100 platforms.
2021-06-22 15:29:21 -07:00

9 lines
349 B
Plaintext

SPATH := $($(FLASHROM)_SRC_PATH)
DEP_FILES := $(SONIC_COMMON_FILES_LIST) rules/flashrom.mk rules/flashrom.dep
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST)
DEP_FILES += $(shell git ls-files $(SPATH))
$(FLASHROM)_CACHE_MODE := GIT_CONTENT_SHA
$(FLASHROM)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)
$(FLASHROM)_DEP_FILES := $(DEP_FILES)