summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 7e64191..ff44e5d 100644
--- a/Makefile
+++ b/Makefile
@@ -53,13 +53,19 @@ ifdef CONFIG_BUILD_MASTER_HANDOUT
($(MAKE) -C ./ -f Makefile build_master_handout );
endif
-menuconfig:
+$(KMCONFIG):
+ cd kconfig-frontends/ && ./configure && make
+
+$(KCONFIG):
+ cd kconfig-frontends/ && ./configure && make
+
+menuconfig: $(KMCONFIG)
$(KMCONFIG) Kconfig
-config:
+config: $(KCONFIG)
$(KCONFIG) --oldaskconfig Kconfig
-oldconfig:
+oldconfig: $(KCONFIG)
cp $@ $(CONFIG_FILE)
$(KCONFIG) --oldconfig Kconfig