[v2] Standardisation of $(BUILD)/.root name

Message ID 1375951634-15323-1-git-send-email-jezz@sysmic.org
State Rejected
Headers show

Commit Message

Jérôme Pouiller Aug. 8, 2013, 8:47 a.m.
To be coherent with stamps used by toolchains, file $(BUILD)/.root is now named

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
 Finally, I placed $(STAMP_DIR) before $(TARGET_DIR) in dirs rule. It 
 is weak, and I dislike this solution. Although, there was already the 
 same issue between BUILD_DIR and TARGET_DIR. So this code is not wore 
 than previous one.

 Makefile |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)


diff --git a/Makefile b/Makefile
index fcfc0be..1281f27 100644
--- a/Makefile
+++ b/Makefile
@@ -392,8 +392,8 @@  TARGETS_LEGAL_INFO:=$(patsubst %,%-legal-info,\
 # all targets depend on the crosscompiler and it's prerequisites
 $(TARGETS_ALL): __real_tgt_%: $(BASE_TARGETS) %
 $(BASE_TARGETS): dirs $(HOST_DIR)/usr/share/buildroot/toolchainfile.cmake
@@ -434,7 +434,7 @@  ifeq ($(BR2_ROOTFS_SKELETON_CUSTOM),y)
 	mkdir -p $(TARGET_DIR)
 	rsync -a \
 		--exclude .empty --exclude .svn --exclude .git \
@@ -443,7 +443,7 @@  $(BUILD_DIR)/.root:
 	cp support/misc/target-dir-warning.txt $(TARGET_DIR_WARNING_FILE)
 	touch $@
-$(TARGET_DIR): $(BUILD_DIR)/.root
+$(TARGET_DIR): $(STAMP_DIR)/skeleton-target-installed
 ifneq (,$(call qstrip,$(BR2_STRIP_EXCLUDE_DIRS)))