summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-05 14:46:08 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-05 14:46:08 +0000
commit4bbec658fd7211fd4cfdfd833b104be77604cc41 (patch)
treec0bc2bba5afd806440d456b7770e7fe5528c8f99
parenta267d2e1ed780da4417eb8f6c158ab4bfb47dfe0 (diff)
fix sdk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1151 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 6146ec97b7..c0ab92281b 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 d222a3276d..b4a3010be4 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