浏览代码

Allow build to complete, even if tftpboot is not writeable by user

Ulf Samuelsson 17 年之前
父节点
当前提交
ed638f6feb
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      target/linux/Makefile.in.advanced

+ 2 - 2
target/linux/Makefile.in.advanced

@@ -438,8 +438,8 @@ $(TARGET_DIR)/boot/busybox.config: $(BUSYBOX_DIR)/.config
 	cp -dpf .config $(TARGET_DIR)/boot/busybox.config
 
 /tftpboot/$(LINUX26_KERNEL_NAME): $(LINUX26_KERNEL)
-	mkdir -p /tftpboot
-	cp -dpf $(LINUX26_KERNEL) /tftpboot/$(LINUX26_KERNEL_NAME)
+	-mkdir -p /tftpboot
+	-cp -dpf $(LINUX26_KERNEL) /tftpboot/$(LINUX26_KERNEL_NAME)
 
 $(LINUX_COPYTO)/$(LINUX26_KERNEL_NAME): $(LINUX26_KERNEL)
 	mkdir -p $(LINUX_COPYTO)