From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 46/46] Add support for the Barebox bootloader
Date: Wed, 09 Jun 2010 09:51:03 +0200 [thread overview]
Message-ID: <87ljaohcew.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <1ddd7a4eb24fe0dd428a3b71f98549560474937c.1275343448.git.thomas.petazzoni@free-electrons.com> (Thomas Petazzoni's message of "Tue, 1 Jun 2010 00:08:32 +0200")
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Hi,
Thomas> +#############################################################
Thomas> +#
Thomas> +# Barebox
Thomas> +#
Thomas> +#############################################################
Thomas> +
Thomas> +BAREBOX_VERSION:=2010.05.0
Thomas> +BAREBOX_SOURCE:=barebox-$(BAREBOX_VERSION).tar.bz2
Thomas> +BAREBOX_SITE:=http://www.barebox.org/download/
Thomas> +BAREBOX_DIR:=$(BUILD_DIR)/barebox-$(BAREBOX_VERSION)
Thomas> +BAREBOX_CAT:=$(BZCAT)
Thomas> +BAREBOX_BOARD_DEFCONFIG:=$(call qstrip,$(BR2_TARGET_BAREBOX_BOARD_DEFCONFIG))
Thomas> +
Thomas> +ifeq ($(ARCH),i386)
Thomas> +BAREBOX_ARCH=x86
Thomas> +else ifeq ($(ARCH),powerpc)
Thomas> +BAREBOX_ARCH=ppc
Thomas> +else
Thomas> +BAREBOX_ARCH=$(ARCH)
Thomas> +endif
This should afaik use KERNEL_ARCH rather than arch (E.G. with i?x86
converted into i386) - Similar to how it's done for u-boot.
Thomas> +
Thomas> +BAREBOX_MAKE_FLAGS = ARCH=$(BAREBOX_ARCH) CROSS_COMPILE=$(TARGET_CROSS)
Thomas> +
Thomas> +$(DL_DIR)/$(BAREBOX_SOURCE):
Thomas> + $(call DOWNLOAD,$(BAREBOX_SITE),$(BAREBOX_SOURCE))
Thomas> +
Thomas> +$(BAREBOX_DIR)/.unpacked: $(DL_DIR)/$(BAREBOX_SOURCE)
Thomas> + $(BAREBOX_CAT) $(DL_DIR)/$(BAREBOX_SOURCE) \
Thomas> + | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
Thomas> + mkdir -p $(BAREBOX_DIR)
What's the point of that mkdir?
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2010-06-09 7:51 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
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 [this message]
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=87ljaohcew.fsf@macbook.be.48ers.dk \
--to=jacmet@uclibc.org \
--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