Felix Singer has uploaded this change for review.

View Change

[WIP] Makefile: Allow printing configuration variables

Add the make option `print-configs` allowing to print the available
configuration options.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
Change-Id: I7886863a1492effa601af93a9ba1a5f55c8800ae
---
M Makefile
1 file changed, 16 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/66/68066/1
diff --git a/Makefile b/Makefile
index f92cefd..e7f70a2 100644
--- a/Makefile
+++ b/Makefile
@@ -1031,6 +1031,9 @@
libpayload: clean
make CC="CC=i386-elf-gcc lpgcc" AR=i386-elf-ar RANLIB=i386-elf-ranlib

+print-configs:
+ @printf "%s=%s\n" $(foreach var,$(filter CONFIG_%,$(.VARIABLES)),"$(var)" "$($(var))")
+
.PHONY: all install clean distclean config _export export tarball libpayload

# Disable implicit suffixes and built-in rules (for performance and profit)

To view, visit change 68066. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I7886863a1492effa601af93a9ba1a5f55c8800ae
Gerrit-Change-Number: 68066
Gerrit-PatchSet: 1
Gerrit-Owner: Felix Singer <felixsinger@posteo.net>
Gerrit-MessageType: newchange