diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-06-13 15:28:31 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-06-13 15:28:31 +0000 |
commit | 2fb4a47e9aa0f79addeb6d2be38731c1809d94e5 (patch) | |
tree | a2e025ed375dcc0ae589d01b8b88f22d7ddd6580 /include/kernel-build.mk | |
parent | 3a02933ef3b70464c54d01bf56b3cb16cac767f7 (diff) | |
download | upstream-2fb4a47e9aa0f79addeb6d2be38731c1809d94e5.tar.gz upstream-2fb4a47e9aa0f79addeb6d2be38731c1809d94e5.tar.bz2 upstream-2fb4a47e9aa0f79addeb6d2be38731c1809d94e5.zip |
create a platform config-* file if there is none already when running kernel_menuconfig or kernel_oldconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11460 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/kernel-build.mk')
-rw-r--r-- | include/kernel-build.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/kernel-build.mk b/include/kernel-build.mk index 75c2bcf01a..b6d2cf5efb 100644 --- a/include/kernel-build.mk +++ b/include/kernel-build.mk @@ -77,6 +77,7 @@ define BuildKernel $(MAKE) -C image compile TARGET_BUILD= oldconfig menuconfig: $(STAMP_PREPARED) FORCE + [ -e "$(LINUX_CONFIG)" ] || touch "$(LINUX_CONFIG)" $(LINUX_CONFCMD) > $(LINUX_DIR)/.config touch $(LINUX_CONFIG) $(MAKE) -C $(LINUX_DIR) $(KERNEL_MAKEOPTS) $$@ |