From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 2/4] Makefile: remove BASE_TARGETS variable
Date: Thu, 06 Mar 2014 18:30:06 +0100 [thread overview]
Message-ID: <5318B09E.4020300@mind.be> (raw)
In-Reply-To: <1394098949-31981-3-git-send-email-fabio.porcedda@gmail.com>
On 06/03/14 10:42, Fabio Porcedda wrote:
> Because now the toolchain dependency is automatically added by the
> package infrastructure the BASE_TARGETS variable is useless so just
> remove it.
>
> Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Regards,
Arnout
> ---
> Makefile | 10 ++++------
> docs/manual/how-buildroot-works.txt | 9 ++++-----
> 2 files changed, 8 insertions(+), 11 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index 6eb9743..665865b 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -300,9 +300,7 @@ GNU_HOST_NAME:=$(shell support/gnuconfig/config.guess)
> #
> ################################################################################
>
> -BASE_TARGETS = toolchain
> -
> -TARGETS:=
> +TARGETS:= toolchain
>
> # silent mode requested?
> QUIET:=$(if $(findstring s,$(MAKEFLAGS)),-q)
> @@ -411,7 +409,7 @@ endif
>
> include fs/common.mk
>
> -TARGETS_SOURCE:=$(patsubst %,%-source,$(TARGETS) $(BASE_TARGETS))
> +TARGETS_SOURCE:=$(patsubst %,%-source,$(TARGETS))
> TARGETS_DIRCLEAN:=$(patsubst %,%-dirclean,$(TARGETS))
>
> # host-* dependencies have to be handled specially, as those aren't
> @@ -433,7 +431,7 @@ HOST_DEPS = $(sort $(foreach dep,\
> HOST_SOURCE += $(addsuffix -source,$(sort $(TARGETS_HOST_DEPS) $(HOST_DEPS)))
>
> TARGETS_LEGAL_INFO:=$(patsubst %,%-legal-info,\
> - $(TARGETS) $(BASE_TARGETS) $(TARGETS_HOST_DEPS) $(HOST_DEPS))))
> + $(TARGETS) $(TARGETS_HOST_DEPS) $(HOST_DEPS))))
>
> dirs: $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
> $(HOST_DIR) $(BINARIES_DIR) $(STAMP_DIR)
> @@ -452,7 +450,7 @@ world: target-post-image
> .PHONY: all world toolchain dirs clean distclean source outputmakefile \
> legal-info legal-info-prepare legal-info-clean printvars \
> target-finalize target-post-image \
> - $(BASE_TARGETS) $(TARGETS) $(TARGETS_ROOTFS) \
> + $(TARGETS) $(TARGETS_ROOTFS) \
> $(TARGETS_DIRCLEAN) $(TARGETS_SOURCE) $(TARGETS_LEGAL_INFO) \
> $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
> $(HOST_DIR) $(BINARIES_DIR) $(STAMP_DIR)
> diff --git a/docs/manual/how-buildroot-works.txt b/docs/manual/how-buildroot-works.txt
> index 68ddd13..a96e45b 100644
> --- a/docs/manual/how-buildroot-works.txt
> +++ b/docs/manual/how-buildroot-works.txt
> @@ -56,11 +56,10 @@ configuration is done):
> +stamps+, etc. in the output directory (+output/+ by default,
> another value can be specified using +O=+)
>
> -* Generate all the targets listed in the +BASE_TARGETS+ variable. When
> - an internal toolchain is used, this means generating the
> - cross-compilation toolchain. When an external toolchain is used,
> - this means checking the features of the external toolchain and
> - importing it into the Buildroot environment.
> +* Generate the toolchain target. When an internal toolchain is used, this
> + means generating the cross-compilation toolchain. When an external
> + toolchain is used, this means checking the features of the external
> + toolchain and importing it into the Buildroot environment.
>
> * Generate all the targets listed in the +TARGETS+ variable. This
> variable is filled by all the individual components'
>
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
next prev parent reply other threads:[~2014-03-06 17:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-06 9:42 [Buildroot] [PATCH v2 0/4] Misc patches Fabio Porcedda
2014-03-06 9:42 ` [Buildroot] [PATCH v2 1/4] webkit: fix mmu reverse dependency moving it to %_ARCH_SUPPORTS Fabio Porcedda
2014-03-06 17:27 ` Arnout Vandecappelle
2014-03-06 9:42 ` [Buildroot] [PATCH v2 2/4] Makefile: remove BASE_TARGETS variable Fabio Porcedda
2014-03-06 17:30 ` Arnout Vandecappelle [this message]
2014-03-06 9:42 ` [Buildroot] [PATCH v2 3/4] linux: fix coding style Fabio Porcedda
2014-03-06 17:34 ` Arnout Vandecappelle
2014-03-06 9:42 ` [Buildroot] [PATCH v2 4/4] linux: remove dirs dependency Fabio Porcedda
2014-03-06 17:37 ` Arnout Vandecappelle
2014-03-07 8:41 ` Fabio Porcedda
2014-03-06 21:52 ` [Buildroot] [PATCH v2 0/4] Misc patches Thomas Petazzoni
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=5318B09E.4020300@mind.be \
--to=arnout@mind.be \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.