aboutsummaryrefslogtreecommitdiffstats
path: root/target/sdk
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-01-28 03:30:30 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-01-28 03:30:30 +0000
commita57b94ceb0b085456a1a5121f95b480470de2995 (patch)
tree23bc70b8b9d7310dee170aba7d264d752d98bfcc /target/sdk
parentffa86683314f3a1a32295fe9c55c79f4b3eae802 (diff)
downloadmaster-187ad058-a57b94ceb0b085456a1a5121f95b480470de2995.tar.gz
master-187ad058-a57b94ceb0b085456a1a5121f95b480470de2995.tar.bz2
master-187ad058-a57b94ceb0b085456a1a5121f95b480470de2995.zip
[sdk] make sure .config gets copied as file
When using scripts/env, .config is most likely a symbolic link pointing to env/.config. Previously the symbolic link got copied as-is into the SDK tarball, leading to a dangling .config symlink on the target system which prevented the SDK from working. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29927 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/sdk')
-rw-r--r--target/sdk/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/sdk/Makefile b/target/sdk/Makefile
index bad50993d6..737404108d 100644
--- a/target/sdk/Makefile
+++ b/target/sdk/Makefile
@@ -40,7 +40,7 @@ $(BIN_DIR)/$(SDK_NAME).tar.bz2: clean
rm -rf \
$(SDK_BUILD_DIR)/target/linux/*/files \
$(SDK_BUILD_DIR)/target/linux/*/patches
- $(CP) \
+ $(CP) -L \
$(TOPDIR)/LICENSE \
$(TOPDIR)/rules.mk \
$(TOPDIR)/.config \