1 Feb 2011 04:52
[PATCH] buildroot:package: Remove configure target parameter in Makefile.autotools.in
From: Sonic Zhang <sonic.zhang@...> 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@...> --- 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 <at> <at> -87,7 +87,6 <at> <at> 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 \(Continue reading)
RSS Feed