From: Jo-Philipp Wich Date: Sat, 28 Jan 2012 03:30:30 +0000 (+0000) Subject: [sdk] make sure .config gets copied as file X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=b8709ea3f824038f07ba87a4dedd19bac1d53979;p=openwrt%2Fsvn-archive%2Farchive.git [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. SVN-Revision: 29927 --- 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 \