u-boot: don't error on existing symlink
authorPeter Korsgaard <jacmet@sunsite.dk>
Wed, 23 Apr 2008 14:52:35 +0000 (14:52 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 23 Apr 2008 14:52:35 +0000 (14:52 -0000)
target/u-boot/Makefile.in

index c6abe6ec2629fedead0381a2a3c996b9f4044760..005d935c6f316f0b2642787851ad9700e36416d1 100644 (file)
@@ -132,7 +132,7 @@ $(TARGET_DIR)/usr/sbin/fw_printenv: $(U_BOOT_DIR)/$(U_BOOT_BIN)
                -DUSE_HOSTCC -o $@ \
                $(U_BOOT_DIR)/tools/env/*.c $(U_BOOT_DIR)/tools/crc32.c
        $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
-       ln -s fw_printenv $(TARGET_DIR)/usr/sbin/fw_setenv
+       ln -sf fw_printenv $(TARGET_DIR)/usr/sbin/fw_setenv
 
 u-boot: gcc $(BINARIES_DIR)/$(U_BOOT_BIN) $(U_BOOT_TARGET_TOOLS)