aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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:
160 fi; 160 fi;
161 161
162$(TOPDIR).config: 162$(TOPDIR).config:
163 cp $(TOPDIR)sysdeps/$(TARGET_OS)/defconfig $(TOPDIR).config 163 @if [ ! -f $(TOPDIR).config ] ; then \
164 mkdir -p $(TOPDIR)include/config 164 cp $(TOPDIR)sysdeps/$(TARGET_OS)/defconfig $(TOPDIR).config; \
165 $(MAKE) -C scripts/lxdialog all 165 fi;
166 $(BB_SHELL) scripts/Menuconfig sysdeps/$(TARGET_OS)/config.in
167 166
168menuconfig: 167menuconfig: $(TOPDIR).config
169 mkdir -p $(TOPDIR)include/config 168 mkdir -p $(TOPDIR)include/config
170 $(MAKE) -C scripts/lxdialog all 169 $(MAKE) -C scripts/lxdialog all
171 $(BB_SHELL) scripts/Menuconfig sysdeps/$(TARGET_OS)/config.in 170 $(BB_SHELL) scripts/Menuconfig sysdeps/$(TARGET_OS)/config.in
172 171
173config: 172config: $(TOPDIR).config
174 mkdir -p $(TOPDIR)include/config 173 mkdir -p $(TOPDIR)include/config
175 $(BB_SHELL) scripts/Configure sysdeps/$(TARGET_OS)/config.in 174 $(BB_SHELL) scripts/Configure sysdeps/$(TARGET_OS)/config.in
176 175
177oldconfig: 176oldconfig: $(TOPDIR).config
178 mkdir -p $(TOPDIR)include/config 177 mkdir -p $(TOPDIR)include/config
179 $(BB_SHELL) scripts/Configure -d sysdeps/$(TARGET_OS)/config.in 178 $(BB_SHELL) scripts/Configure -d sysdeps/$(TARGET_OS)/config.in
180 179