Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] buildroot: Makefile: Allow target board makefile fill in default target_skeleton path.
@ 2012-08-08  6:57 Sonic Zhang
  2012-08-09  8:41 ` Thomas Petazzoni
  0 siblings, 1 reply; 5+ messages in thread
From: Sonic Zhang @ 2012-08-08  6:57 UTC (permalink / raw)
  To: buildroot

From: Sonic Zhang <sonic.zhang@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@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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-08-13  5:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-08  6:57 [Buildroot] [PATCH] buildroot: Makefile: Allow target board makefile fill in default target_skeleton path Sonic Zhang
2012-08-09  8:41 ` Thomas Petazzoni
2012-08-09 10:26   ` Sonic Zhang
2012-08-09 20:44     ` Thomas Petazzoni
2012-08-13  5:04       ` Sonic Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox