From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 14/46] u-boot: support building for mkimage
Date: Sat, 12 Jun 2010 16:15:43 +0200 [thread overview]
Message-ID: <20100612161543.0e06da9a@surf> (raw)
In-Reply-To: <877hm9i4fd.fsf@macbook.be.48ers.dk>
On Tue, 08 Jun 2010 23:45:58 +0200
Peter Korsgaard <jacmet@uclibc.org> wrote:
> Thomas> U_BOOT_VERSION:=$(call qstrip,$(BR2_UBOOT_VERSION))
> Thomas> +U_BOOT_BOARD_NAME:=$(call
> Thomas> qstrip,$(BR2_TARGET_UBOOT_BOARDNAME)) +
> Thomas> +# An U-Boot version and board might not be specified if
> Thomas> U-Boot isn't +# explicitly selected, but mkimage needs to be
> Thomas> compiled. In this case, +# we just take a random U-Boot
> Thomas> version and configuration. +ifeq ($(U_BOOT_VERSION),)
> Thomas> +U_BOOT_VERSION=2010.03
> Thomas> +U_BOOT_BOARD_NAME=smdk2410
> Thomas> +endif
>
> Thomas> # u-boot still uses arch=ppc for powerpc
> Thomas> U_BOOT_ARCH=$(KERNEL_ARCH:powerpc=ppc)
>
> Does that work if KERNEL_ARCH != arm?
Yes, it was. But I looked more closely at this and discovered that it
was possible to build mkimage *without* configuring U-Boot. I've taken
advantage of this to not configure U-Boot with a fake board.
> Huh, isn't that supposed to be mkimage for the host? Why do you need
> to pass all this target stuff?
I've removed this and simplified the build of mkimage for the host.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2010-06-12 14:15 UTC|newest]
Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-31 22:07 [Buildroot] [pull request] Pull request for branch bootloaders-cleanup Thomas Petazzoni
2010-05-31 22:07 ` [Buildroot] [PATCH 01/46] bootloaders: move bootloader build code to boot/ Thomas Petazzoni
2010-05-31 22:07 ` [Buildroot] [PATCH 02/46] yaboot: drop support Thomas Petazzoni
2010-05-31 22:07 ` [Buildroot] [PATCH 03/46] boot: remove references to COPYTO Thomas Petazzoni
2010-05-31 22:07 ` [Buildroot] [PATCH 04/46] u-boot: do not default to $(BOARD_NAME) for the board name Thomas Petazzoni
2010-05-31 22:07 ` [Buildroot] [PATCH 05/46] u-boot: remove ancient versions Thomas Petazzoni
2010-05-31 22:07 ` [Buildroot] [PATCH 06/46] u-boot: rename Makefile.in to u-boot.mk for coherency Thomas Petazzoni
2010-05-31 22:07 ` [Buildroot] [PATCH 07/46] u-boot: remove option to configure download site Thomas Petazzoni
2010-06-02 7:14 ` [Buildroot] [PATCH 07/46] u-boot: remove option to configuredownload site Paul Jones
2010-06-04 8:32 ` Thomas Petazzoni
2010-06-05 13:49 ` Thomas Petazzoni
2010-06-06 7:29 ` Paul Jones
2010-06-07 9:11 ` Thomas Petazzoni
2010-06-07 21:22 ` Thomas Petazzoni
2010-05-31 22:07 ` [Buildroot] [PATCH 08/46] u-boot: remove arch specific patches infrastructure Thomas Petazzoni
2010-05-31 22:07 ` [Buildroot] [PATCH 09/46] u-boot: remove u-boot-status make target Thomas Petazzoni
2010-05-31 22:07 ` [Buildroot] [PATCH 10/46] u-boot: remove reference to old 1.2.0-atmel version Thomas Petazzoni
2010-05-31 22:07 ` [Buildroot] [PATCH 11/46] u-boot: simplify custom patch handling Thomas Petazzoni
2010-05-31 22:07 ` [Buildroot] [PATCH 12/46] u-boot: remove patch for obsolete version Thomas Petazzoni
2010-05-31 22:07 ` [Buildroot] [PATCH 13/46] u-boot: remove useless symbolic link Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 14/46] u-boot: support building for mkimage Thomas Petazzoni
2010-06-08 21:45 ` Peter Korsgaard
2010-06-12 14:15 ` Thomas Petazzoni [this message]
2010-05-31 22:08 ` [Buildroot] [PATCH 15/46] u-boot: further simplify the configuration Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 16/46] u-boot: remove unused U_BOOT_TARGET_TOOLS variable Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 17/46] u-boot: add a few comments Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 18/46] u-boot: remove unneeded symbolic link + blank line Thomas Petazzoni
2010-06-08 21:53 ` Peter Korsgaard
2010-06-12 14:16 ` Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 19/46] grub: remove GRUB_SUPPORTED_ARCH Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 20/46] grub2: remove GRUB2_ARCH_SUPPORTED Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 21/46] grub/grub2: drop unnecessary dependency on uclibc Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 22/46] grub/grub2: update splash image location Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 23/46] grub2: bump version Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 24/46] grub2: fix build Thomas Petazzoni
2010-06-08 21:54 ` Peter Korsgaard
2010-05-31 22:08 ` [Buildroot] [PATCH 25/46] grub2: remove non-existing options Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 26/46] grub2: only available on x86 and PowerPC and mark as BROKEN Thomas Petazzoni
2010-06-08 21:55 ` Peter Korsgaard
2010-05-31 22:08 ` [Buildroot] [PATCH 27/46] syslinux: bump version and fix build Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 28/46] syslinux: remove the unnecessary SYSLINUX_SUPPORTED_ARCH check Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 29/46] nasm: new package, needed for syslinux Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 30/46] syslinux: depends on host-nasm Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 31/46] at91bootstrap: do not default to $(BOARD_NAME) Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 32/46] at91bootstrap: simplify configuration Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 33/46] at91bootstrap: fix the boot source selection Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 34/46] at91bootstrap: fix incorrect config option comment Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 35/46] at91bootstrap: remove unused/useless code Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 36/46] at91bootstrap: add a check to verify that BR2_TARGET_AT91BOOTSTRAP_BOARD is set Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 37/46] at91bootstrap: bump version to 2.13 Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 38/46] at91bootstrap: don't use the ATMEL_MIRROR thing Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 39/46] at91bootstrap: fix install procedure Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 40/46] at91bootstrap: fix AT91BOOTSTRAP_BINARY Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 41/46] at91dataflashboot: fix configuration options Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 42/46] at91dataflashboot: various fixes Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 43/46] at91dataflashboot: add a patch step Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 44/46] at91dataflashboot: add two patches Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 45/46] defconfigs: remove references to old U-Boot versions Thomas Petazzoni
2010-05-31 22:08 ` [Buildroot] [PATCH 46/46] Add support for the Barebox bootloader Thomas Petazzoni
2010-06-09 7:51 ` Peter Korsgaard
2010-06-12 14:16 ` Thomas Petazzoni
2010-06-05 13:51 ` [Buildroot] [pull request] Pull request for branch bootloaders-cleanup Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100612161543.0e06da9a@surf \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox