* [Buildroot] [PATCH] docs/manual: use TARGET_CONFIGURE_OPTS in generic-package tutorial
@ 2016-07-25 18:35 Sergio Prado
2016-07-25 20:49 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Sergio Prado @ 2016-07-25 18:35 UTC (permalink / raw)
To: buildroot
TARGET_CONFIGURE_OPTS is preferred over manually using CC and LD.
Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
---
docs/manual/adding-packages-generic.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/manual/adding-packages-generic.txt b/docs/manual/adding-packages-generic.txt
index f18465b85107..ef895ec91717 100644
--- a/docs/manual/adding-packages-generic.txt
+++ b/docs/manual/adding-packages-generic.txt
@@ -29,7 +29,7 @@ system is based on hand-written Makefiles or shell scripts.
14: LIBFOO_DEPENDENCIES = host-libaaa libbbb
15:
16: define LIBFOO_BUILD_CMDS
-17: $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D) all
+17: $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all
18: endef
19:
20: define LIBFOO_INSTALL_STAGING_CMDS
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] docs/manual: use TARGET_CONFIGURE_OPTS in generic-package tutorial
2016-07-25 18:35 [Buildroot] [PATCH] docs/manual: use TARGET_CONFIGURE_OPTS in generic-package tutorial Sergio Prado
@ 2016-07-25 20:49 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-07-25 20:49 UTC (permalink / raw)
To: buildroot
Hello,
On Mon, 25 Jul 2016 15:35:18 -0300, Sergio Prado wrote:
> TARGET_CONFIGURE_OPTS is preferred over manually using CC and LD.
>
> Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
> ---
> docs/manual/adding-packages-generic.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-07-25 20:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-25 18:35 [Buildroot] [PATCH] docs/manual: use TARGET_CONFIGURE_OPTS in generic-package tutorial Sergio Prado
2016-07-25 20:49 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox