[Buildroot] [PATCH] buildroot:package: Remove configure target parameter in Makefile.autotools.in

Sonic Zhang sonic.adi at gmail.com
Tue Feb 1 03:52:10 UTC 2011


From: Sonic Zhang <sonic.zhang at 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 at 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




More information about the buildroot mailing list