[Buildroot] [PATCH 1/1] Fix config.mak.uname to allow cross-compilation

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun May 22 20:29:42 UTC 2016


Hello,

Thanks for your contribution.

On Sun, 22 May 2016 22:24:03 +0200, Mauro Condarelli wrote:
> Current implementation imperatively sets variables from "uname" output.
> This breaks cross-compilation because uname is run on host while target
> configuration may be different.
> 
> Make current behavior a non-imperative default, so it's possible to
> force different values setting make variables.
> 
> To cross-compile it will be necessary to explicitly set the various
> uname_X variables to values compatible with target.
> No change is needed with normal host compilation.
> Patch is trivial.
> 
> Signed-off-by: Mauro Condarelli <mc5686 at mclink.it>
> ---
>  config.mak.uname | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)

This patch cannot be applied, as it is a patch against Git directly,
while you should send patches against Buildroot. I.e, a patch that adds
a patch.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list