[Buildroot] [PATCH] buildroot: Makefile: Allow target board makefile fill in default target_skeleton path.
Sonic Zhang
sonic.adi at gmail.com
Wed Aug 8 06:57:19 UTC 2012
From: Sonic Zhang <sonic.zhang at analog.com>
If the target skeleton path is empty in config, don't change variable
TARGET_SKELETON in buildroot Makefile. Allow the target board makefile
fill in a default path.
Signed-off-by: Sonic Zhang <sonic.zhang at analog.com>
---
Makefile | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 079af65..ce81045 100644
--- a/Makefile
+++ b/Makefile
@@ -399,8 +399,10 @@ $(STAGING_DIR):
@ln -snf $(STAGING_DIR) $(BASE_DIR)/staging
ifeq ($(BR2_ROOTFS_SKELETON_CUSTOM),y)
+ifneq ($(BR2_ROOTFS_SKELETON_CUSTOM_PATH),"")
TARGET_SKELETON=$(BR2_ROOTFS_SKELETON_CUSTOM_PATH)
endif
+endif
$(BUILD_DIR)/.root:
mkdir -p $(TARGET_DIR)
--
1.7.0.4
More information about the buildroot
mailing list