summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 72d33c006..d6e46a812 100644
--- a/Makefile
+++ b/Makefile
@@ -356,19 +356,22 @@ all: menuconfig
# configuration
# ---------------------------------------------------------------------------
-
-extra/config/conf:
- make -C extra/config conf
+extra/config/conf: buildconf
-@if [ ! -f .config ] ; then \
cp extra/Configs/Config.$(TARGET_ARCH).default .config; \
fi
-extra/config/mconf:
- make -C extra/config ncurses conf mconf
+buildconf:
+ make -C extra/config conf
+
+extra/config/mconf: buildmconf
-@if [ ! -f .config ] ; then \
cp extra/Configs/Config.$(TARGET_ARCH).default .config; \
fi
+buildmconf:
+ make -C extra/config ncurses mconf
+
menuconfig: extra/config/mconf
rm -rf include/bits
mkdir -p include/bits