aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-06-06 13:00:47 +0000
committerEric Andersen <andersen@codepoet.org>2002-06-06 13:00:47 +0000
commit8610f91ebf0adfc117002ae5a95f449b4ab4a2cc (patch)
treeacf19cbc1a292325f8a376333f1dfe9046195d01
parent27d3766e0d840cac8759f300e783dc23e5438d4f (diff)
downloadbusybox-8610f91ebf0adfc117002ae5a95f449b4ab4a2cc.tar.gz
Lets give this a try...
-rw-r--r--Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index dc299cded..a112e5781 100644
--- a/Makefile
+++ b/Makefile
@@ -160,21 +160,20 @@ $(TOPDIR)include/config.h:
fi;
$(TOPDIR).config:
- cp $(TOPDIR)sysdeps/$(TARGET_OS)/defconfig $(TOPDIR).config
- mkdir -p $(TOPDIR)include/config
- $(MAKE) -C scripts/lxdialog all
- $(BB_SHELL) scripts/Menuconfig sysdeps/$(TARGET_OS)/config.in
+ @if [ ! -f $(TOPDIR).config ] ; then \
+ cp $(TOPDIR)sysdeps/$(TARGET_OS)/defconfig $(TOPDIR).config; \
+ fi;
-menuconfig:
+menuconfig: $(TOPDIR).config
mkdir -p $(TOPDIR)include/config
$(MAKE) -C scripts/lxdialog all
$(BB_SHELL) scripts/Menuconfig sysdeps/$(TARGET_OS)/config.in
-config:
+config: $(TOPDIR).config
mkdir -p $(TOPDIR)include/config
$(BB_SHELL) scripts/Configure sysdeps/$(TARGET_OS)/config.in
-oldconfig:
+oldconfig: $(TOPDIR).config
mkdir -p $(TOPDIR)include/config
$(BB_SHELL) scripts/Configure -d sysdeps/$(TARGET_OS)/config.in