[Buildroot] [PATCH] toolchain-external: make extraction idempotent

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Nov 4 07:33:55 UTC 2015


Dear Arnout Vandecappelle (Essensium/Mind),

On Wed, 4 Nov 2015 00:09:35 +0100, Arnout Vandecappelle
(Essensium/Mind) wrote:
> Commit 23ffa7ec first extracts to the toolchain-external build
> directory and then moves everything to $(HOST_DIR)/opt/ext-toolchain.
> However, this is not idempotent, because moving directories over
> existing ones doesn't always work, particularly if the target is on
> another device.
> 
> Simply remove the destination contents before moving.
> 
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
> ---
>  toolchain/toolchain-external/toolchain-external.mk | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks.

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



More information about the buildroot mailing list