sam-ba: specify ln -sf to remove existing destination file
authorAxel Lin <axel.lin@ingics.com>
Mon, 14 Oct 2013 13:22:19 +0000 (21:22 +0800)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 14 Oct 2013 20:00:09 +0000 (22:00 +0200)
commit58712bbe4f085e92962db17d2d4ae34057d9384e
tree4014223250891318e00e2f968ffa08402d5278f7
parenteed2e02fb99f31196df75ec3dadaf80fa68fffe3
sam-ba: specify ln -sf to remove existing destination file

This fixes below build error when executing
"make host-sam-ba-dirclean; make host-sam-ba-rebuild".

ln -s ../../opt/sam-ba/sam-ba /opt/test/br-x86/buildroot/output/host/usr/bin/sam-ba
ln: failed to create symbolic link '/opt/test/br-x86/buildroot/output/host/usr/bin/sam-ba': File exists
make: *** [/opt/test/br-x86/buildroot/output/build/host-sam-ba-2.12/.stamp_host_installed] Error 1

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/sam-ba/sam-ba.mk