From 9bf1de0ad822bcd4937356f9621702dfc1a82f1a Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Fri, 23 Oct 2015 16:51:22 +0200 Subject: [PATCH] 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 Acked-by: Ian Campbell --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c5a2906..53d6a0d 100644 --- a/Makefile +++ b/Makefile @@ -72,7 +72,7 @@ clean: $(TOOLS) $(TARGET_TOOLS): Makefile common.h fex2bin bin2fex: sunxi-fexc - ln -s $< $@ + ln -nsf $< $@ sunxi-fexc: fexc.h script.h script.c \ script_uboot.h script_uboot.c \