From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [pull request] Pull request for branch for-2011.08/bootloaders
Date: Mon, 30 May 2011 22:22:51 +0200 [thread overview]
Message-ID: <cover.1306782275.git.thomas.petazzoni@free-electrons.com> (raw)
Hello,
We have a package infrastructure that allows to share a lot of common
behaviour between packages, and allows to add new features easily to
all existing packages (Git/Mercurial download support, or usage of an
external source tree, etc.).
Unfortunately, some of the packages that would most benefit from those
new infrastructure features are the bootloader and kernel, since it's
typically the software components that have to be modified/tuned
during the course of an embedded Linux project.
Therefore, this series converts all bootloaders makefiles and the
kernel makefile to the package infrastructure, and adds the
possibility of fetching the kernel and u-boot through Git (it can be
added to other bootloaders with just a few lines of changes, mostly at
the Config.in level).
It also does various other things :
* Integrate Allan Nielsen patch that allows package to override the
default extract command. Allan wrote it for the ATI fglrx drivers,
but this is also required by this patchset for the AT91Bootstrap
bootloader, which is provided as a .zip file.
* Allow the kernel to be installed in /boot in the root
filesystem. This is mostly useful for x86 and x86_64 systems, where
it is traditional to have the kernel inside the root filesystem.
* Modify the way the kernel is configured, to always use a defconfig
mechanism. This allows to make a silent oldconfig after linux.mk
has tuned the kernel configuration according to various Buildroot
configuration options (see the commit log for details).
* Modify the package infrastructure to provide a <pkg>_INSTALL_IMAGE
knob in addition to <pkg>_INSTALL_STAGING and <pkg>_INSTALL_TARGET.
* Fix the patching procedure for host packages. It was incorrect,
because it required the target package to exist even if only the
host package was actually useful.
* Adds support for post-download hooks at the package infrastructure
level. This is needed for the kernel, as the kernel requires to
download a custom list of patches.
Most of the changes have already been tested sucessfully by Luca Ceresoli.
Regards,
Thomas
The following changes since commit 9ab73b51e8f0f30e1720639d40732fa20aab9d1a:
Update for 2011.05 (2011-05-27 16:18:21 +0200)
are available in the git repository at:
http://free-electrons.com/~thomas/buildroot.git for-2011.08/bootloaders
Allan W. Nielsen (1):
Makefile.package.in: Makes it possible to override the default extract commands
Thomas Petazzoni (25):
Fix quoting in default extract command
linux: make it possible to install the kernel in /boot
linux: use the defconfig mechanism after tuning the config
package: add infrastructure to install things in images/
package: fix patching procedure for host packages
barebox: use = instead of := and re-indent
barebox: convert to GENTARGETS
at91bootstrap: use = instead of := and indent properly
at91bootstrap: convert to GENTARGETS
at91dataflashboot: use = instead of := and indent
at91dataflashboot: convert to GENTARGETS
syslinux: convert to GENTARGETS
grub: convert to AUTOTARGETS
grub2: remove package
u-boot: convert to GENTARGETS
uboot-mkimage: new package
linux: rename LINUX26 to LINUX
linux: indent and align some definitions
package: add support for post-download hooks
linux: convert to the GENTARGETS infrastructure
boot: rename BR2_TARGET_* to BR2_BOOT_*
u-boot: rename options BR2_BOOT_UBOOT* to BR2_BOOT_U_BOOT*
Improve TARGETS handling for bootloaders and kernel
linux: allow specification of a custom Git repository as a source
u-boot: allow specification of custom Git repo as source
boot/Config.in | 1 -
boot/at91bootstrap/Config.in | 18 +-
boot/at91bootstrap/at91bootstrap.mk | 69 ++----
boot/at91dataflashboot/Config.in | 24 +--
boot/at91dataflashboot/at91dataflashboot.mk | 49 +---
boot/barebox/Config.in | 8 +-
boot/barebox/barebox.mk | 74 +++----
boot/grub/Config.in | 94 ++++----
boot/grub/grub.500-build-fix.patch | 14 ++
boot/grub/grub.mk | 157 +++++--------
boot/grub2/Config.in | 9 -
boot/grub2/grub2.mk | 93 --------
boot/syslinux/Config.in | 16 +-
boot/syslinux/syslinux.mk | 59 ++----
boot/u-boot/Config.in | 89 ++++----
boot/u-boot/u-boot.mk | 234 +++++++-------------
linux/Config.in | 23 ++
linux/linux.mk | 210 +++++++++---------
package/Makefile.package.in | 72 +++++--
.../uboot-mkimage-2011.03-drop-configh.patch | 0
package/uboot-mkimage/uboot-mkimage.mk | 16 ++
21 files changed, 561 insertions(+), 768 deletions(-)
create mode 100644 boot/grub/grub.500-build-fix.patch
delete mode 100644 boot/grub2/Config.in
delete mode 100644 boot/grub2/grub2.mk
rename boot/u-boot/u-boot-2011.03-drop-configh.patch => package/uboot-mkimage/uboot-mkimage-2011.03-drop-configh.patch (100%)
create mode 100644 package/uboot-mkimage/uboot-mkimage.mk
Thanks,
--
Thomas Petazzoni
next reply other threads:[~2011-05-30 20:22 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-30 20:22 Thomas Petazzoni [this message]
2011-05-30 20:22 ` [Buildroot] [PATCH 01/26] Makefile.package.in: Makes it possible to override the default extract commands Thomas Petazzoni
2011-05-30 20:22 ` [Buildroot] [PATCH 02/26] Fix quoting in default extract command Thomas Petazzoni
2011-05-30 20:22 ` [Buildroot] [PATCH 03/26] linux: make it possible to install the kernel in /boot Thomas Petazzoni
2011-06-20 15:02 ` Luca Ceresoli
2011-06-20 15:52 ` Thomas Petazzoni
2011-05-30 20:22 ` [Buildroot] [PATCH 04/26] linux: use the defconfig mechanism after tuning the config Thomas Petazzoni
2011-05-30 20:22 ` [Buildroot] [PATCH 05/26] package: add infrastructure to install things in images/ Thomas Petazzoni
2011-05-30 20:22 ` [Buildroot] [PATCH 06/26] package: fix patching procedure for host packages Thomas Petazzoni
2011-05-30 20:22 ` [Buildroot] [PATCH 07/26] barebox: use = instead of := and re-indent Thomas Petazzoni
2011-05-30 20:22 ` [Buildroot] [PATCH 08/26] barebox: convert to GENTARGETS Thomas Petazzoni
2011-05-30 20:23 ` [Buildroot] [PATCH 09/26] at91bootstrap: use = instead of := and indent properly Thomas Petazzoni
2011-05-30 20:23 ` [Buildroot] [PATCH 10/26] at91bootstrap: convert to GENTARGETS Thomas Petazzoni
2011-05-30 20:23 ` [Buildroot] [PATCH 11/26] at91dataflashboot: use = instead of := and indent Thomas Petazzoni
2011-05-30 20:23 ` [Buildroot] [PATCH 12/26] at91dataflashboot: convert to GENTARGETS Thomas Petazzoni
2011-05-30 20:23 ` [Buildroot] [PATCH 13/26] syslinux: " Thomas Petazzoni
2011-05-30 20:23 ` [Buildroot] [PATCH 14/26] grub: convert to AUTOTARGETS Thomas Petazzoni
2011-05-30 20:23 ` [Buildroot] [PATCH 15/26] grub2: remove package Thomas Petazzoni
2011-05-30 20:23 ` [Buildroot] [PATCH 16/26] u-boot: convert to GENTARGETS Thomas Petazzoni
2011-05-30 20:23 ` [Buildroot] [PATCH 17/26] uboot-mkimage: new package Thomas Petazzoni
2011-05-30 20:23 ` [Buildroot] [PATCH 18/26] linux: rename LINUX26 to LINUX Thomas Petazzoni
2011-05-30 20:23 ` [Buildroot] [PATCH 19/26] linux: indent and align some definitions Thomas Petazzoni
2011-05-30 20:23 ` [Buildroot] [PATCH 20/26] package: add support for post-download hooks Thomas Petazzoni
2011-05-30 20:23 ` [Buildroot] [PATCH 21/26] linux: convert to the GENTARGETS infrastructure Thomas Petazzoni
2011-05-30 20:23 ` [Buildroot] [PATCH 22/26] boot: rename BR2_TARGET_* to BR2_BOOT_* Thomas Petazzoni
2011-05-30 20:23 ` [Buildroot] [PATCH 23/26] u-boot: rename options BR2_BOOT_UBOOT* to BR2_BOOT_U_BOOT* Thomas Petazzoni
2011-05-30 20:23 ` [Buildroot] [PATCH 24/26] Improve TARGETS handling for bootloaders and kernel Thomas Petazzoni
2011-06-20 15:01 ` Luca Ceresoli
2011-06-20 15:59 ` Thomas Petazzoni
2011-05-30 20:23 ` [Buildroot] [PATCH 25/26] linux: allow specification of a custom Git repository as a source Thomas Petazzoni
2011-05-30 23:14 ` Mike Frysinger
2011-05-31 6:58 ` Thomas Petazzoni
2011-05-30 20:23 ` [Buildroot] [PATCH 26/26] u-boot: allow specification of custom Git repo as source Thomas Petazzoni
2011-05-31 20:01 ` [Buildroot] [pull request] Pull request for branch for-2011.08/bootloaders Luca Ceresoli
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=cover.1306782275.git.thomas.petazzoni@free-electrons.com \
--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