summaryrefslogtreecommitdiff
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
commitcb6f860b8fb0f960a56ea7669b53badfd6a60423 (patch)
tree1f33fe2b7f4297a7d9fb5bf1f93550d1dc3af28b /target/sdk
parentd1c07b36574c8b50c9968c051226fbd954e719d0 (diff)
downloadmtk-20170518-cb6f860b8fb0f960a56ea7669b53badfd6a60423.zip
mtk-20170518-cb6f860b8fb0f960a56ea7669b53badfd6a60423.tar.gz
mtk-20170518-cb6f860b8fb0f960a56ea7669b53badfd6a60423.tar.bz2
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.
SVN-Revision: 29927
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 bad5099..7374041 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 \