From 71370d2c5543b3073653b601aba26078fdbab682 Mon Sep 17 00:00:00 2001 From: Daniel Dickinson Date: Thu, 29 Sep 2016 04:14:17 -0400 Subject: target/{sdk,imagebuild}: Fix for symlink-tree With symlink tree some directories are just symlinked which means IB and SDK end up with a symlink instead of an actual directory; this fixes the missing files by dereferencesing the directories instead of copying the symlinks. Signed-off-by: Daniel Dickinson --- target/imagebuilder/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/imagebuilder') diff --git a/target/imagebuilder/Makefile b/target/imagebuilder/Makefile index 4b61963b0a..b809193db3 100644 --- a/target/imagebuilder/Makefile +++ b/target/imagebuilder/Makefile @@ -26,7 +26,7 @@ $(BIN_DIR)/$(IB_NAME).tar.bz2: clean mkdir -p $(IB_KDIR) $(IB_LDIR) $(PKG_BUILD_DIR)/staging_dir/host/lib \ $(PKG_BUILD_DIR)/target $(PKG_BUILD_DIR)/scripts $(IB_DTSDIR) -cp $(TOPDIR)/.config $(PKG_BUILD_DIR)/.config - $(CP) \ + $(CP) -L \ $(INCLUDE_DIR) $(SCRIPT_DIR) \ $(TOPDIR)/rules.mk \ ./files/Makefile \ -- cgit v1.2.3