From: Sonic Zhang <sonic.adi@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] buildroot: Makefile: Allow target board makefile fill in default target_skeleton path.
Date: Wed, 8 Aug 2012 14:57:19 +0800 [thread overview]
Message-ID: <1344409039-32071-1-git-send-email-sonic.adi@gmail.com> (raw)
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
next reply other threads:[~2012-08-08 6:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-08 6:57 Sonic Zhang [this message]
2012-08-09 8:41 ` [Buildroot] [PATCH] buildroot: Makefile: Allow target board makefile fill in default target_skeleton path Thomas Petazzoni
2012-08-09 10:26 ` Sonic Zhang
2012-08-09 20:44 ` Thomas Petazzoni
2012-08-13 5:04 ` Sonic Zhang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1344409039-32071-1-git-send-email-sonic.adi@gmail.com \
--to=sonic.adi@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox