summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-09-08 08:40:55 +0000
committerEric Andersen <andersen@codepoet.org>2003-09-08 08:40:55 +0000
commit3056fc1a325e3661c9dc577b32cd7e0e59e7fdfe (patch)
treed454d94a7e45b4fa9a2263c0e073c93f049dccb6 /Makefile
parentcca2d887a231d9df4a4ac1d45f659054c07b993f (diff)
Be certain the config system binaries are current
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