summaryrefslogtreecommitdiffstats
path: root/openwrt
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt')
-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 6146ec97b..c0ab92281 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 d222a3276..b4a3010be 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