diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ddca6aa0f..541281c33 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,6 +59,9 @@ jobs: - name: Install dependencies run: ./scripts/deps.sh + - name: Show config + run: make BOARD=${{ matrix.boards }} show-config + - name: Build firmware run: make BOARD=${{ matrix.boards }} VERBOSE=1 diff --git a/Makefile b/Makefile index d414d4a2a..e519c55c8 100644 --- a/Makefile +++ b/Makefile @@ -61,6 +61,13 @@ SRC += $(foreach src, $(arch-y), $(ARCH_DIR)/$(src)) include $(ARCH_DIR)/toolchain.mk +# TODO: Generate config file as part of build. +.PHONY: show-config +show-config: + $(foreach v, \ + $(sort $(filter CONFIG_%,$(.VARIABLES))), \ + $(info $(v)=$($(v)))) + # The architecture defines build targets, no more is required endif