summaryrefslogtreecommitdiff
path: root/boot/u-boot/u-boot.mk
AgeCommit message (Collapse)Author
2011-04-24u-boot: add 2011.03 releaseLuca Ceresoli
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-24u-boot: fix target build of fw_printenvPeter Korsgaard
Closes #3571 The current approach for building fw_printenv for the target fails on some configurations, so use the upstream make target (which works) instead. At the same time get rid of the unneeded stripping. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-24u-boot: remove extra CFLAGS / LDFLAGS handlingPeter Korsgaard
TARGET_CONFIGURE_FLAGS already contain CFLAGS/LDFLAGS, so no point in setting them explicitly. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-23u-boot: drop old 2009.xx versionsPeter Korsgaard
We use 'make tools' to build a mkimage for the host if needed by the kernel (uImage) without having u-boot configured, but that only works since the 2010.03 release: http://git.denx.de/?p=u-boot.git;a=commit;h=c7c0d542a1990 So drop the old 2009.xx versions rather than having the build break for people. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-07initial support for Blackfin processorsMike Frysinger
[Peter: don't allow MMU on bfin] Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-01Enable ccache for u-boot compileMartin Hicks
Just needed to pass in ccache as a prefix to the CROSS_TARGET variable. Signed-off-by: Martin Hicks <mort@bork.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-27u-boot: update default helper tools to 2010.12Mike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-16u-boot: add CROSS_COMPILE/ARCH when building host toolsThomas Petazzoni
Even when building the host tools, for some reason U-Boot tries to execute the cross-compiler, so tell it which cross-compiler to use in order to avoid failure such as: /usr/bin/make -j12 -C /home/test/outputs/test-253-mini2440_defconfig/build/u-boot-custom tools make[1]: arm-linux-gcc: Command not found make[1]: Entering directory `/home/test/outputs/test-253-mini2440_defconfig/build/u-boot-custom' for dir in tools examples api_examples ; do /usr/bin/make -C $dir _depend ; done Generating include/autoconf.mk /bin/sh: line 3: arm-linux-gcc: command not found Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-28barebox/u-boot/linux: don't error out on missing config when make sourcePeter Korsgaard
As it breaks 'make allyesconfig; make source', used for the source mirror. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-27u-boot: pass ARCH/CROSS_COMPILE when running make <board>_configPeter Korsgaard
Gets rid of a bunch of (ignored) errors about missing cross compiler. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-29u-boot: fix custom patch handlingThomas Petazzoni
When U-Boot is enabled and no custom patch directory has been set, then the current test: ifneq ($(strip $(BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR)),"") works. However, when U-Boot is not enabled, but still gets compiled because mkimage is needed to build the kernel, BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR is completely empty. It does not even have quotes. So the test in fact needs to be: ifneq ($(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR)),) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-26u-boot: fix custom patch dir handlingOssy
Signed-off-by: Ossy <ossy1980@gmx.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26u-boot: add Marvell u-boot.kwb supportPeter Korsgaard
Marvell boards like the sheevaplug needs a special .kwb image format, so add an option for it similar to how we handle zImage/uImage/.. for the kernel. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-14u-boot: fix version detection and get rid of unneeded double CFLAGS/LDFLAGSPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-05u-boot: add 2010.06 releasePeter Korsgaard
A few minor modifications of u-boot.mk is needed to support 2010.06: - U-Boot now uses ARCH=powerpc like the kernel (instead of ARCH=ppc) - Library files have moved, so adjust the target mkimage/fw_printenv rules (still compatible with older versions) Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-12u-boot: use BR2_TARGET_UBOOT_VERSION instead of BR2_UBOOT_VERSIONThomas Petazzoni
In order to be coherent with all other BR2_TARGET_UBOOT_* options. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-12u-boot: re-add infrastructure to specify custom tarballThomas Petazzoni
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-12u-boot: add a few commentsThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-12u-boot: remove unused U_BOOT_TARGET_TOOLS variableThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-12u-boot: further simplify the configurationThomas Petazzoni
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-12u-boot: support building for mkimageThomas Petazzoni
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-10u-boot: remove useless symbolic linkThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-10u-boot: simplify custom patch handlingThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-10u-boot: remove reference to old 1.2.0-atmel versionThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-10u-boot: remove u-boot-status make targetThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-10u-boot: remove option to configure download siteThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-06-10u-boot: rename Makefile.in to u-boot.mk for coherencyThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>