summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-06-05 14:46:08 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-06-05 14:46:08 +0000
commitad4bb0d6e1380f209128fc05bf0930167683cf15 (patch)
treec0bc2bba5afd806440d456b7770e7fe5528c8f99
parentde56a161ac1d9496c5efc9ef8539f5dded05c89c (diff)
downloadmtk-20170518-ad4bb0d6e1380f209128fc05bf0930167683cf15.zip
mtk-20170518-ad4bb0d6e1380f209128fc05bf0930167683cf15.tar.gz
mtk-20170518-ad4bb0d6e1380f209128fc05bf0930167683cf15.tar.bz2
fix sdk
SVN-Revision: 1151
-rw-r--r--openwrt/package/sdk/Makefile1
-rw-r--r--openwrt/package/sdk/files/Makefile.sdk2
2 files changed, 3 insertions, 0 deletions
diff --git a/openwrt/package/sdk/Makefile b/openwrt/package/sdk/Makefile
index 6146ec9..c0ab922 100644
--- a/openwrt/package/sdk/Makefile
+++ b/openwrt/package/sdk/Makefile
@@ -28,6 +28,7 @@ $(BIN_DIR)/$(SDK_NAME).tar.bz2:
cp ./files/Makefile.sdk $(SDK_BUILD_DIR)/Makefile
cp ./files/README.SDK $(SDK_BUILD_DIR)/
cp ./files/depend.mk $(SDK_BUILD_DIR)/package/
+ cp $(TOPDIR)/package/rules.mk $(SDK_BUILD_DIR)/package/
egrep '^BR2_(ARCH|WGET|STAGING|JLEVEL|LARGEFILE|TARGET_OPT)' $(TOPDIR)/.config > $(SDK_BUILD_DIR)/.config
find $(SDK_BUILD_DIR) -name CVS | xargs rm -rf
(cd $(BUILD_DIR); \
diff --git a/openwrt/package/sdk/files/Makefile.sdk b/openwrt/package/sdk/files/Makefile.sdk
index d222a32..b4a3010 100644
--- a/openwrt/package/sdk/files/Makefile.sdk
+++ b/openwrt/package/sdk/files/Makefile.sdk
@@ -1,6 +1,8 @@
# OpenWrt SDK Makefile
TOPDIR:=${shell pwd}
export TOPDIR
+DEVELOPER:=1
+export DEVELOPER
include $(TOPDIR)/rules.mk
include $(TOPDIR)/package/depend.mk