소스 검색

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
Jo-Philipp Wich 13 년 전
부모
커밋
cb6f860b8f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      target/sdk/Makefile

+ 1 - 1
target/sdk/Makefile

@@ -40,7 +40,7 @@ $(BIN_DIR)/$(SDK_NAME).tar.bz2: clean
 	rm -rf \
 	rm -rf \
 		$(SDK_BUILD_DIR)/target/linux/*/files \
 		$(SDK_BUILD_DIR)/target/linux/*/files \
 		$(SDK_BUILD_DIR)/target/linux/*/patches
 		$(SDK_BUILD_DIR)/target/linux/*/patches
-	$(CP) \
+	$(CP) -L \
 		$(TOPDIR)/LICENSE \
 		$(TOPDIR)/LICENSE \
 		$(TOPDIR)/rules.mk \
 		$(TOPDIR)/rules.mk \
 		$(TOPDIR)/.config \
 		$(TOPDIR)/.config \