svn commit: trunk/buildroot/target/device/Atmel/u-boot
Author: ulf
Date: 2007-07-29 00:05:13 -0700 (Sun, 29 Jul 2007) New Revision: 19312
Log:
Reintroduce ATMEL_MIRROR in u-boot
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 +4 -2
@@ -8,6 +8,8 @@ # ############################################################# UBOOT_VERSION:=1.2.0-atmel +ATMEL_MIRROR:=$(strip $(subst ",, $(BR2_ATMEL_MIRROR))) +#")) UBOOT_DIR:=$(BUILD_DIR)/u-boot-$(UBOOT_VERSION) UBOOT_BUILD_DIR:=$(PROJECT_BUILD_DIR)/u-boot-$(UBOOT_VERSION) UBOOT_SOURCE:=u-boot-$(UBOOT_VERSION).tar.bz2
@@ -41,10 +43,10 @@ UBOOT_CUSTOM:=$(UBOOT_DIR)/include/custom.h $(DL_DIR)/$(UBOOT_SOURCE): - $(WGET) -P $(DL_DIR) $(UBOOT_SITE)/$(UBOOT_SOURCE) + $(WGET) -P $(DL_DIR) $(UBOOT_SITE)/$(UBOOT_SOURCE) $(DL_DIR)/$(UBOOT_PATCH_SOURCE): - $(WGET) -P $(DL_DIR) $(UBOOT_PATCH_SITE)/$(UBOOT_PATCH_SOURCE) + $(WGET) -P $(DL_DIR) $(UBOOT_PATCH_SITE)/$(UBOOT_PATCH_SOURCE) $(UBOOT_DIR)/.unpacked: $(DL_DIR)/$(UBOOT_SOURCE) mkdir -p $(BUILD_DIR)
Quoted 20 lines · ulf at uclibc.org
Author: ulf
Date: 2007-07-29 00:05:13 -0700 (Sun, 29 Jul 2007) New Revision: 19312Log:
ReintroduceATMEL_MIRRORin u-bootModified:
trunk/buildroot/target/device/Atmel/u-boot/u-boot.mkChangeset:
Modified:trunk/buildroot/target/device/Atmel/u-boot/u-boot.mk
===================================================================buildroot/target/device/Atmel/u-boot/u-boot.mk +0
-0@@ -8,6 +8,8 @@ # #############################################################UBOOT_VERSION:=1.2.0-atmel
buildroot/target/device/Atmel/u-boot/u-boot.mk line 12
Quoted 2 lines
buildroot/target/device/Atmel/u-boot/u-boot.mk +2
-0+ATMEL_MIRROR:=$(strip $(subst ",, $(BR2_ATMEL_MIRROR))) +#"))
This is redundant.
What about doing this once, cleanly?
target/device/Atmel/Makefile.in would be the obvious place where i'd put this once and for all..
[Buildroot] svn commit:trunk/buildroot/target/device/Atmel/u-boot
----- Original Message -----
From: "Bernhard Fischer" <[email protected]>
To: <[email protected]>
Cc: <[email protected]>
Sent: Monday, July 30, 2007 12:17 PM
Subject: Re: [Buildroot] svn commit:trunk/buildroot/target/device/Atmel/u-boot
Quoted 27 lines · ulf at uclibc.org
Quoted 20 lines
Author: ulf
Date: 2007-07-29 00:05:13 -0700 (Sun, 29 Jul 2007) New Revision: 19312Log:
ReintroduceATMEL_MIRRORin u-bootModified:
trunk/buildroot/target/device/Atmel/u-boot/u-boot.mkChangeset:
Modified:trunk/buildroot/target/device/Atmel/u-boot/u-boot.mk
===================================================================buildroot/target/device/Atmel/u-boot/u-boot.mk 2007-07-29 07:05:13 UTC (rev 19312) renamed from buildroot/target/device/Atmel/u-boot/u-boot.mk 2007-07-29 06:51:35 UTC (rev 19311) +0
-0@@ -8,6 +8,8 @@ # #############################################################UBOOT_VERSION:=1.2.0-atmel
buildroot/target/device/Atmel/u-boot/u-boot.mk 2007-07-29 07:05:13 UTC (rev 19312)
Quoted 2 lines
buildroot/target/device/Atmel/u-boot/u-boot.mk 2007-07-29 07:05:13 UTC (rev 19312) renamed from buildroot/target/device/Atmel/u-boot/u-boot.mk 2007-07-29 06:51:35 UTC (rev 19311) +2
-0+ATMEL_MIRROR:=$(strip $(subst ",, $(BR2_ATMEL_MIRROR))) +#"))This is redundant.
What about doing this once, cleanly?
Quoted 3 lines
target/device/Atmel/Makefile.in would be the obvious place where i'd put this once and for all..
The AVR32 patches for the toolchain is 6-8 MB and I would like to avoid that. I am working on a patch that will allow you to download prepatched source for the AVR32 (binutils, gcc, uclibc and gdb).
Therefore, ATMEL_MIRROR needs to be set before the toolchain is built.
The first version had ATMEL_MIRROR set in each of the files. The I moved to a common definition, which has to be before that, so I put it in "package/Makefile.in", and this was reverted. Since it needs to be available before the toolchain is built, Stephen suggested to have it in each toolchain Makefile, resulting in the "VENDOR" patches, which I agree should be less vendor specific.
I spend some time thinking about this today (while waiting on the tees of the local golfcourse) and I think that the best idea is to have another option in the
"Toolchain type" menu so you can select an externally prepatched toolchain.
(X) Buildroot toolchain
( ) Prepatched toolchain source ( ) External Toolchain
If you select "Prepatched toolchain source", then you get to select vendor as a choice. Otherwise it is hidden.
Then theVENDOR_SITEVENDOR_SUFFIXVENDOR_RELEASE
strings are set.
VENDOR_SITE could be set to $(BR2_ATMEL_MIRROR) if an Atmel prepatched toolchain is selected.
If it is implemented this way, then ATMEL_MIRROR could be set once in the "target/device/Atmel/Makefile.in"
Best Regards
Ulf Samuelsson