Commit Graph

12 Commits

Author SHA1 Message Date
Thomas Petazzoni
db86f18ed7 u-boot: use BR2_TARGET_UBOOT_VERSION instead of BR2_UBOOT_VERSION
In order to be coherent with all other BR2_TARGET_UBOOT_* options.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-12 13:25:46 +02:00
Thomas Petazzoni
f15702a97f u-boot: re-add infrastructure to specify custom tarball
The bootloader being very specific to the hardware, being able to
build U-Boot from an arbitrary tarball available on the web might be
needed.

Therefore, for U-Boot, we provide two methods :

 * Get a given stable version from U-Boot official FTP server

 * Get an arbitrary tarball

This should hopefully satisfy most needs, without complicating too
much the U-Boot build procedure on Buildroot side.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-12 13:23:48 +02:00
Thomas Petazzoni
6db01c1b30 u-boot: add a few comments
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-12 13:23:48 +02:00
Thomas Petazzoni
4a587b12eb u-boot: remove unused U_BOOT_TARGET_TOOLS variable
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-12 13:23:48 +02:00
Thomas Petazzoni
afd3bd2b03 u-boot: further simplify the configuration
Remove all the bootsource selection mechanism and the horribly
complicated BR2_TARGET_UBOOT_DEFAULT_ENV thing, which wanted to be
generic, but was in fact very AT91-specific.

Just keep things simple: we build U-Boot with the board configuration
file specified in BR2_TARGET_UBOOT_BOARDNAME.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-12 13:23:47 +02:00
Thomas Petazzoni
f2d16ae0e1 u-boot: support building for mkimage
To build mkimage for the host (which is needed to build an uImage of
the kernel), it is not necessary to configure U-Boot, and therefore to
have a particular board selected.

Therefore, this commit:

 * Adds a verification at U-Boot configure step that a U-Boot board
   name has been defined

 * Sets a default U-Boot version if none has been specified, so that
   even when U-Boot isn't selected but we want to build mkimage for
   the host, a particular U-Boot version is picked.

 * Make the host mkimage target depend only on U-Boot being
   downloaded/extracted/patched, and the target mkimage/fw_printenv
   targets depend on U-Boot being fully configured.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-12 13:21:36 +02:00
Thomas Petazzoni
dc63ef95f3 u-boot: remove useless symbolic link
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-10 21:05:13 +02:00
Thomas Petazzoni
bbd247b7c0 u-boot: simplify custom patch handling
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-10 21:05:13 +02:00
Thomas Petazzoni
b116aff434 u-boot: remove reference to old 1.2.0-atmel version
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-10 21:05:13 +02:00
Thomas Petazzoni
86074e71b6 u-boot: remove u-boot-status make target
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-10 21:05:12 +02:00
Thomas Petazzoni
dac82dbe7a u-boot: remove option to configure download site
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-10 21:05:12 +02:00
Thomas Petazzoni
f7995aa066 u-boot: rename Makefile.in to u-boot.mk for coherency
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-10 21:05:12 +02:00