Marcel Telka
2023-12-03 e6745c97ceb58e389375984dbbe6a35b45c9955d
components/Makefile: make components.ignore replaceable

1 files modified
3 ■■■■ changed files
components/Makefile 3 ●●●● patch | view | raw | blame | history
components/Makefile
@@ -31,11 +31,12 @@
# components.mk is auto-generated by the build tools.  It populates the
# COMPONENT_DIRS macro with a list of all directories in the workspace that
# contain a component.
COMPONENTS_IGNORE = components.ignore
$(WS_TOP)/components/$(ENCUMBERED)components.mk:    # Makefile # $(WS_TOP)/components
    @echo "Generating component list..."
    @$(BASS_O_MATIC) --workspace=$(WS_TOP) --components=paths \
        | sed -e 's;^$(shell pwd)/;;' \
        | sed -f components.ignore \
        | sed -f $(COMPONENTS_IGNORE) \
        | sed -e 's;^;COMPONENT_DIRS += ;g' >$@
-include $(WS_TOP)/components/$(ENCUMBERED)components.mk