aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b1291af..03cc786 100644
--- a/Makefile
+++ b/Makefile
@@ -52,6 +52,15 @@ menuconfig:
@[ ! -f config ] || sed 's/="\(.*\)"/=\1/' config > "$(CONFIG)"
@[ ! -f config ] || mv config "$(CONFIG).orig"
@[ ! -f config.old ] || mv config.old "$(CONFIG).old"
+
+.PHONY: allyesconfig
+allyesconfig:
+ @[ ! -f "$(CONFIG)" ] || [ ! -f "$(CONFIG).orig" ] || mv "$(CONFIG).orig" config
+ @$(MAKE) -f kconfig/GNUmakefile --no-print-directory \
+ TOPDIR=. SRCDIR=kconfig allyesconfig
+ @[ ! -f config ] || sed 's/="\(.*\)"/=\1/' config > "$(CONFIG)"
+ @[ ! -f config ] || mv config "$(CONFIG).orig"
+ @[ ! -f config.old ] || mv config.old "$(CONFIG).old"
# Note about this file moving madness:
# avr-ioe is using Kconfig for configuration and it is not prepared too well for
# nested projects (at least I don't know way). This unfortunately means that to