svn commit: trunk/buildroot/target/device/Atmel/u-boot
Author: ulf
Date: 2008-04-10 14:03:27 -0700 (Thu, 10 Apr 2008) New Revision: 21695
Log:
Avoid hardwiring tftpboot
Modified:
trunk/buildroot/target/device/Atmel/u-boot/u-boot.mk
Changeset:
Modified: trunk/buildroot/target/device/Atmel/u-boot/u-boot.mk
===================================================================
buildroot/target/device/Atmel/u-boot/u-boot.mk +9 -9
@@ -95,18 +95,18 @@ CONFIG_NOSOFTFLOAT=1 \ TOPDIR=$(UBOOT_DIR) \ SRCTREE=$(UBOOT_DIR) \ - TFTPBOOT=/tftpboot \ + TFTPBOOT=$(TARGET_ATMEL_COPYTO) \ -C $(UBOOT_DIR) $(BINARIES_DIR)/$(UBOOT_BIN): $(UBOOT_BUILD_DIR)/u-boot.bin mkdir -p $(BINARIES_DIR) cp $(UBOOT_BUILD_DIR)/u-boot.bin $(BINARIES_DIR)/$(UBOOT_BIN) -/tftpboot/$(UBOOT_BIN): $(UBOOT_BUILD_DIR)/u-boot.bin - mkdir -p /tftpboot - cp $(UBOOT_BUILD_DIR)/u-boot.bin /tftpboot/$(UBOOT_BIN) +$(TARGET_ATMEL_COPYTO)/$(UBOOT_BIN): $(UBOOT_BUILD_DIR)/u-boot.bin + mkdir -p $(TARGET_ATMEL_COPYTO) + cp $(UBOOT_BUILD_DIR)/u-boot.bin $(TARGET_ATMEL_COPYTO)/$(UBOOT_BIN) -uboot-bin: $(BINARIES_DIR)/$(UBOOT_BIN) /tftpboot/$(UBOOT_BIN) +uboot-bin: $(BINARIES_DIR)/$(UBOOT_BIN) $(TARGET_ATMEL_COPYTO)/$(UBOOT_BIN) $(UBOOT_CUSTOM).test: .config $(UBOOT_BUILD_DIR)/.configured echo "/* Automatically generated file, do not edit */" \
@@ -175,7 +175,7 @@ -n "autoscr config" \ -d $(UBOOT_SCR) \ $(UBOOT_SCR).$(PROJECT) - cp $(UBOOT_SCR).$(PROJECT) /tftpboot + cp $(UBOOT_SCR).$(PROJECT) $(TARGET_ATMEL_COPYTO) $(MKIMAGE): $(MKIMAGE_BINLOC) cp -f $(MKIMAGE_BINLOC) $(MKIMAGE)
@@ -200,7 +200,7 @@ rm -fr $(UBOOT_BUILD_DIR)/u-boot rm -fr $(UBOOT_BUILD_DIR)/u-boot.gz rm -fr $(UBOOT_BUILD_DIR)/u-boot.bin - rm -fr /tftpboot/$(UBOOT_BIN) + rm -fr $(TARGET_ATMEL_COPYTO)/$(UBOOT_BIN) rm -fr $(BINARIES_DIR)/$(UBOOT_BIN) .PHONY: uboot-bin
@@ -270,8 +270,8 @@ - at ls $(UBOOT_BUILD_DIR)/u-boot.bin - at echo binaries-u-boot.bin=$(BINARIES_DIR)/$(UBOOT_BIN) - at ls $(BINARIES_DIR)/$(UBOOT_BIN) - - at echo tftpboot=/tftpboot/$(UBOOT_BIN) - - at ls /tftpboot/$(UBOOT_BIN) + - at echo tftpboot=$(TARGET_ATMEL_COPYTO)/$(UBOOT_BIN) + - at ls $(TARGET_ATMEL_COPYTO)/$(UBOOT_BIN) - at echo "mkimage = $(MKIMAGE)" - at ls $(MKIMAGE) - at echo "u-boot script=$(UBOOT_SCR).$(PROJECT)"
ulf at uclibc.org a ?crit :
Quoted 9 lines
Author: ulf
Date: 2008-04-10 14:03:27 -0700 (Thu, 10 Apr 2008) New Revision: 21695Log:
Avoid hardwiring tftpbootModified:
trunk/buildroot/target/device/Atmel/u-boot/u-boot.mk
Thanks Ulf for this fix. I have found two others files with the exact same issue:target/device/Atmel/at91bootstrap/at91bootstrap.mk target/linux/Makefile.in.advanced
Please apply the attached patch to fix them.
Regards,
--
Jean-Christian de Rivaz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-tftpboot.diff
Type: text/x-patch
Size: 1732 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20080411/72e7f6c8/attachment.bin
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Jean-Christian" == Jean-Christian de Rivaz <[email protected]> writes:
Jean-Christian> Thanks Ulf for this fix. I have found two others Jean-Christian> files with the exact same issue:
Jean-Christian> target/device/Atmel/at91bootstrap/at91bootstrap.mk Jean-Christian> target/linux/Makefile.in.advanced
Jean-Christian> Please apply the attached patch to fix them.
Thanks - fixed in r21712.
Signature · 1 line
Bye, Peter Korsgaard
Peter Korsgaard a ?crit :
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Jean-Christian" == Jean-Christian de Rivaz <[email protected]> writes:
Jean-Christian> Thanks Ulf for this fix. I have found two others Jean-Christian> files with the exact same issue:
Jean-Christian>target/device/Atmel/at91bootstrap/at91bootstrap.mkJean-Christian> target/linux/Makefile.in.advancedJean-Christian> Please apply the attached patch to fix them.
Thanks - fixed in r21712.
Thanks. This commit with the initial commit from Ulf, close the bugs 2384 and 2394:
http://bugs.uclibc.org/view.php?id=2384
http://bugs.uclibc.org/view.php?id=2394
I have not found a way to close them myself. Is there one ?
Signature · 1 line
Jean-Christian de Rivaz
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Jean-Christian" == Jean-Christian de Rivaz <[email protected]> writes:
Hi,
Jean-Christian> Thanks. This commit with the initial commit from Ulf, Jean-Christian> close the bugs 2384 and 2394:
Jean-Christian> http://bugs.uclibc.org/view.php?id=2384
Jean-Christian> http://bugs.uclibc.org/view.php?id=2394
Thanks, done.
Jean-Christian> I have not found a way to close them myself. Is there one ?
Not afaik.
Signature · 1 line
Bye, Peter Korsgaard