summaryrefslogtreecommitdiff
path: root/openwrt/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-06-02 16:27:15 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-06-02 16:27:15 +0000
commit0cde379fb90322fd91948ad4c5be9c89b992933f (patch)
tree4a05b6e8e587708adf689e464aaf6a3778d47be3 /openwrt/Makefile
parenta6983e9cb105f6e1ca3a84698c064f9d971e70a4 (diff)
downloadmtk-20170518-0cde379fb90322fd91948ad4c5be9c89b992933f.zip
mtk-20170518-0cde379fb90322fd91948ad4c5be9c89b992933f.tar.gz
mtk-20170518-0cde379fb90322fd91948ad4c5be9c89b992933f.tar.bz2
run defconfig at the start of a normal make run to get additional config options
SVN-Revision: 3897
Diffstat (limited to 'openwrt/Makefile')
-rw-r--r--openwrt/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/openwrt/Makefile b/openwrt/Makefile
index 84508b1..1d45582 100644
--- a/openwrt/Makefile
+++ b/openwrt/Makefile
@@ -55,22 +55,23 @@ endif
pkginfo-clean: FORCE
-rm -f .pkginfo .config.in
-scripts/config/mconf: .config.in
+./scripts/config/mconf: .config.in
$(MAKE) -C scripts/config all
-scripts/config/conf: .config.in
+./scripts/config/conf: .config.in
$(MAKE) -C scripts/config conf
-config: scripts/config/conf FORCE
+config: ./scripts/config/conf FORCE
$< Config.in
-defdconfig: scripts/config/conf FORCE
- $< -d Config.in
+defconfig: ./scripts/config/conf FORCE
+ touch .config
+ $< -D .config Config.in
-oldconfig: scripts/config/conf FORCE
+oldconfig: ./scripts/config/conf FORCE
$< -o Config.in
-menuconfig: scripts/config/mconf FORCE
+menuconfig: ./scripts/config/mconf FORCE
$< Config.in
config-clean: FORCE
@@ -85,7 +86,9 @@ target/%: .pkginfo FORCE
toolchain/%: FORCE
$(MAKE) -C toolchain $(patsubst toolchain/%,%,$@)
-world: FORCE
+world: ./scripts/config/conf FORCE
+ touch .config
+ $< -D .config Config.in >/dev/null 2>/dev/null
$(MAKE) toolchain/install
$(MAKE) target/compile
$(MAKE) package/compile