From: Fabio Porcedda <fabio.porcedda@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 1/2] Makefile: rename cross target -> toolchain
Date: Fri, 21 Dec 2012 11:36:29 +0100 [thread overview]
Message-ID: <1356086190-906-2-git-send-email-fabio.porcedda@gmail.com> (raw)
In-Reply-To: <1356086190-906-1-git-send-email-fabio.porcedda@gmail.com>
- Use a more descriptive name, the same of the "toolchain" directory.
- Add missing dependencies to be able to successfully use the target
right after the configuration.
- Move to a better position.
- Documentation it in the help target.
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
---
Makefile | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 4b09437..458b8c5 100644
--- a/Makefile
+++ b/Makefile
@@ -377,9 +377,11 @@ $(BUILD_DIR)/buildroot-config/auto.conf: $(CONFIG_DIR)/.config
prepare: $(BUILD_DIR)/buildroot-config/auto.conf
+toolchain: prepare dirs dependencies $(BASE_TARGETS)
+
world: prepare dirs dependencies $(BASE_TARGETS) $(TARGETS_ALL)
-.PHONY: all world dirs clean distclean source outputmakefile \
+.PHONY: all world toolchain dirs clean distclean source outputmakefile \
legal-info legal-info-prepare legal-info-clean \
$(BASE_TARGETS) $(TARGETS) $(TARGETS_ALL) \
$(TARGETS_CLEAN) $(TARGETS_DIRCLEAN) $(TARGETS_SOURCE) $(TARGETS_LEGAL_INFO) \
@@ -697,8 +699,6 @@ ifeq ($(O),output)
endif
rm -rf $(CONFIG_DIR)/.config $(CONFIG_DIR)/.config.old $(CONFIG_DIR)/.auto.deps
-cross: $(BASE_TARGETS)
-
help:
@echo 'Cleaning:'
@echo ' clean - delete all files created by build'
@@ -706,6 +706,7 @@ help:
@echo
@echo 'Build:'
@echo ' all - make world'
+ @echo ' toolchain - build toolchain'
@echo ' <package>-rebuild - force recompile <package>'
@echo ' <package>-reconfigure - force reconfigure <package>'
@echo
--
1.8.0
next prev parent reply other threads:[~2012-12-21 10:36 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-21 10:36 [Buildroot] [PATCH v2 0/2] Makefile: add toolchain target Fabio Porcedda
2012-12-21 10:36 ` Fabio Porcedda [this message]
2012-12-21 12:00 ` [Buildroot] [PATCH v2 1/2] Makefile: rename cross target -> toolchain Markos Chandras
2012-12-21 12:42 ` Arnout Vandecappelle
2012-12-21 14:15 ` Fabio Porcedda
2012-12-22 12:45 ` Samuel Martin
2012-12-22 13:45 ` Fabio Porcedda
2012-12-21 10:36 ` [Buildroot] [PATCH v2 2/2] Makefile: use toolchain target in the world target Fabio Porcedda
2012-12-21 11:57 ` Markos Chandras
2012-12-21 12:43 ` Arnout Vandecappelle
2013-01-07 12:29 ` [Buildroot] [PATCH v2 0/2] Makefile: add toolchain target Fabio Porcedda
2013-01-13 14:14 ` Samuel Martin
2013-01-13 21:28 ` Fabio Porcedda
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=1356086190-906-2-git-send-email-fabio.porcedda@gmail.com \
--to=fabio.porcedda@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