[Buildroot] [PATCH] swupdate: pass full TARGET_CONFIGURE_OPTS
peter at korsgaard.com
Tue Dec 18 08:22:20 UTC 2018
>>>>> "Arnout" == Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be> writes:
> Although we set CONFIG_CROSS_COMPILE to TARGET_CROSS in swupdate's
> .config file, swupdate's build system just appends 'cc' to it, not
> 'gcc'. Some external toolchains don't provide a cc -> gcc symlink,
> leading to errors like:
> /bin/sh: .../host/bin/arm-none-linux-gnueabi-cc: No such file or directory
> We can just pass TARGET_CONFIGURE_OPTS which explicitly sets CC=, like
> we do for all other packages.
> Although this makes setting CONFIG_CROSS_COMPILE redundant, it's nice to
> keep it as well for consistency.
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
> Cc: Peter Korsgaard <peter at korsgaard.com>
Do we still want https://patchwork.ozlabs.org/patch/1014334/ to handle
similar issues in other packages?
Bye, Peter Korsgaard
More information about the buildroot