summaryrefslogtreecommitdiff
path: root/target/sdk/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-03-10 18:58:49 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-03-10 18:58:49 +0000
commitcedfe135ab102ac2f8390dd82b496de3c383d3cc (patch)
treec4845a7992f072d24c550b4f8d48ff81fa661ae7 /target/sdk/Makefile
parent23df56c4900fd0b49d949bb91449c1f48f832a9e (diff)
downloadmtk-20170518-cedfe135ab102ac2f8390dd82b496de3c383d3cc.zip
mtk-20170518-cedfe135ab102ac2f8390dd82b496de3c383d3cc.tar.gz
mtk-20170518-cedfe135ab102ac2f8390dd82b496de3c383d3cc.tar.bz2
target/sdk: generate a Config.in file with the settings of the build that the SDK was generated from
This allows make oldconfig/menuconfig to run Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39864
Diffstat (limited to 'target/sdk/Makefile')
-rw-r--r--target/sdk/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/sdk/Makefile b/target/sdk/Makefile
index 2318f4d..376aef8 100644
--- a/target/sdk/Makefile
+++ b/target/sdk/Makefile
@@ -64,6 +64,7 @@ $(BIN_DIR)/$(SDK_NAME).tar.bz2: clean
rm -rf \
$(SDK_BUILD_DIR)/target/linux/*/files* \
$(SDK_BUILD_DIR)/target/linux/*/patches*
+ ./convert-config.pl $(TOPDIR)/.config > $(SDK_BUILD_DIR)/Config-build.in
$(CP) -L \
$(TOPDIR)/LICENSE \
$(TOPDIR)/rules.mk \