Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] buildroot:package: Remove configure target parameter in Makefile.autotools.in
@ 2011-02-01  3:52 Sonic Zhang
  2011-02-01  4:06 ` [Buildroot] [uclinux-dist-devel] " Mike Frysinger
       [not found] ` <AANLkTi=F8BRtskBBKE_Wno=Vy=EHvLjE3bkYagiAuegH@mail.gmail.com>
  0 siblings, 2 replies; 10+ messages in thread
From: Sonic Zhang @ 2011-02-01  3:52 UTC (permalink / raw)
  To: buildroot

From: Sonic Zhang <sonic.zhang@analog.com>

configure parameter --target has different meaning from buildroot environment
parameter GNU_TARGET_NAME. GNU_TARGET_NAME is actually equal to --host.

  --build=BUILD     configure for building on BUILD [guessed]
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  --target=TARGET   configure for building compilers for TARGET [HOST]

--target is rarely used by most packages and is redundant in configure line.
If some packages do need --target, they can append it to buildroot environment
parameter INETUTILS_CONF_OPT in packages' makefile.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
---
 package/Makefile.autotools.in |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in
index d445348..151e5cf 100644
--- a/package/Makefile.autotools.in
+++ b/package/Makefile.autotools.in
@@ -87,7 +87,6 @@ define $(2)_CONFIGURE_CMDS
 	$$(TARGET_CONFIGURE_ARGS) \
 	$$($$(PKG)_CONF_ENV) \
 	./configure \
-		--target=$$(GNU_TARGET_NAME) \
 		--host=$$(GNU_TARGET_NAME) \
 		--build=$$(GNU_HOST_NAME) \
 		--prefix=/usr \
-- 
1.7.0.4

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

end of thread, other threads:[~2011-02-15  8:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-01  3:52 [Buildroot] [PATCH] buildroot:package: Remove configure target parameter in Makefile.autotools.in Sonic Zhang
2011-02-01  4:06 ` [Buildroot] [uclinux-dist-devel] " Mike Frysinger
     [not found] ` <AANLkTi=F8BRtskBBKE_Wno=Vy=EHvLjE3bkYagiAuegH@mail.gmail.com>
2011-02-01  4:43   ` Sonic Zhang
2011-02-01  6:59     ` Mike Frysinger
     [not found]       ` <DB904C5425BA6F4E8424B3B51A1414D165B430B838@NWD2CMBX1.ad.analog.com>
2011-02-01  7:50         ` Mike Frysinger
2011-02-01  7:45     ` Peter Korsgaard
2011-02-02  4:49       ` Sonic Zhang
2011-02-02  6:40         ` Mike Frysinger
2011-02-09  3:01           ` Sonic Zhang
2011-02-15  8:17             ` Mike Frysinger

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