Avoid hardwiring tftpboot
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Thu, 10 Apr 2008 21:02:12 +0000 (21:02 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Thu, 10 Apr 2008 21:02:12 +0000 (21:02 -0000)
target/device/Atmel/DataFlashBoot/DataflashBoot.mk

index b0c5fff6e6541e78e4939334b01414f2d46b1dbc..23930a330a7ae0e7115874dae3dc55af264698fe 100644 (file)
@@ -34,7 +34,7 @@ dataflash:     $(DATAFLASHBOOT_DIR)/$(DATAFLASHBOOT_BINARY)
        mkdir -p $(BINARIES_DIR)
        cp $(DATAFLASHBOOT_DIR)/$(DATAFLASHBOOT_BINARY) $(BINARIES_DIR)/$(BOARD_NAME)-$(DATAFLASHBOOT_BINARY)
 ifneq  ($(TARGET_ATMEL_COPYTO),)
-       cp $(DATAFLASHBOOT_DIR)/$(DATAFLASHBOOT_BINARY) /tftpboot/$(BOARD_NAME)-$(DATAFLASHBOOT_BINARY)
+       cp $(DATAFLASHBOOT_DIR)/$(DATAFLASHBOOT_BINARY) $(TARGET_ATMEL_COPYTO)/$(BOARD_NAME)-$(DATAFLASHBOOT_BINARY)
 endif
 
 #############################################################