[Buildroot] [uclinux-dist-devel] [PATCH] buildroot:package: Remove configure target parameter in Makefile.autotools.in

Sonic Zhang sonic.adi at gmail.com
Tue Feb 1 04:43:23 UTC 2011


Some autotools based software packages generate prefix name to the
binary after running install if you set --target parameter.

For example:

--target=arm

rcp is rename to "linux-arm-rcp" after running install


Sonic


On Tue, Feb 1, 2011 at 12:02 PM, Mike Frysinger <vapier.adi at gmail.com> wrote:
> On Mon, Jan 31, 2011 at 22:52, Sonic Zhang wrote:
>> 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.
>
> not really ... the usage is harmless.  it might be a little redundant
> since target tends to default to host, but that's about it.  what are
> you actually trying to address here ?
> -mike
>


More information about the buildroot mailing list