kumquat-buildroot/toolchain
Thomas Petazzoni 22a59e1bc2 toolchain-external: fix rebuild/reinstall for Linaro toolchains
For Linaro toolchains, a special post install staging hook is used to
create two symlinks needed for the dynamic loader to find the
libraries. However, the way the link is created prevents a 'make
toolchain-external-reinstall' from succeeding, because the symlink
already exists and points to a directory:

ln -sf . /home/thomas/projets/outputs/training/target/lib/arm-linux-gnueabihf
ln: '/home/thomas/projets/outputs/training/target/lib/arm-linux-gnueabihf/.': cannot overwrite directory

This commit adjust the hook to pass the '-n' option so that the link
name is treated as a normal file if it is a symbolic link to a
directory.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2015-05-01 16:30:13 +02:00
..
toolchain toolchain/toolchain-buildroot: migrate to virtual package infrastructure 2014-06-14 19:10:13 +02:00
toolchain-buildroot toolchain: enable musl for sh 2015-03-25 20:01:55 +01:00
toolchain-external toolchain-external: fix rebuild/reinstall for Linaro toolchains 2015-05-01 16:30:13 +02:00
Config.in toolchain: make IPv6 mandatory for external toolchains 2015-04-22 22:59:31 +02:00
helpers.mk toolchain: make IPv6 mandatory for external toolchains 2015-04-22 22:59:31 +02:00
toolchain-common.in toolchain: drop BR2_INET_IPV6 2015-04-22 23:07:02 +02:00
toolchain.mk toolchain: fix installing gconv libs with multi-arch toolchain 2015-04-22 22:30:34 +02:00