Makefile: use force option when creating symlinks

So it doesn't error out if the symlink already exists (E.G. is pointing to
the old name).

Also add the -n option for consistency with the install target.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
This commit is contained in:
Peter Korsgaard 2015-10-23 16:51:22 +02:00 committed by Siarhei Siamashka
parent 0f69187846
commit 9bf1de0ad8

View File

@ -72,7 +72,7 @@ clean:
$(TOOLS) $(TARGET_TOOLS): Makefile common.h $(TOOLS) $(TARGET_TOOLS): Makefile common.h
fex2bin bin2fex: sunxi-fexc fex2bin bin2fex: sunxi-fexc
ln -s $< $@ ln -nsf $< $@
sunxi-fexc: fexc.h script.h script.c \ sunxi-fexc: fexc.h script.h script.c \
script_uboot.h script_uboot.c \ script_uboot.h script_uboot.c \