From: Tilman Keskinöz Date: Mon, 25 Mar 2013 04:48:11 +0000 (+0000) Subject: Support .dotfiles in / being copied to the TARGET X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1cd3f992fb3659aacbb0cdd3ed64347a37569891;p=buildroot.git Support .dotfiles in / being copied to the TARGET An example is .init_enable_core, to enable coredumps in busybox Signed-off-by: Tilman Keskinöz Signed-off-by: Peter Korsgaard --- diff --git a/Makefile b/Makefile index f1c98aa933..62311ede36 100644 --- a/Makefile +++ b/Makefile @@ -431,7 +431,7 @@ $(BUILD_DIR)/.root: mkdir -p $(TARGET_DIR) if ! [ -d "$(TARGET_DIR)/bin" ]; then \ if [ -d "$(TARGET_SKELETON)" ]; then \ - cp -fa $(TARGET_SKELETON)/* $(TARGET_DIR)/; \ + rsync -au $(TARGET_SKELETON)/ $(TARGET_DIR)/; \ fi; \ fi cp support/misc/target-dir-warning.txt $(TARGET_DIR_WARNING_FILE)