From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] dtb: provide option to install dtb to boot directory
Date: Fri, 21 Dec 2012 09:21:23 +0100 [thread overview]
Message-ID: <87623vyfwc.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <1356042147-1532-1-git-send-email-bear@bears.org> (Gary Coulbourne's message of "Thu, 20 Dec 2012 17:22:27 -0500")
>>>>> "Gary" == Gary Coulbourne <bear@bears.org> writes:
Gary> Signed-off-by: Gary Coulbourne <bear@bears.org>
Gary> ---
Gary> linux/Config.in | 6 ++++++
Gary> linux/linux.mk | 7 +++++++
Gary> 2 files changed, 13 insertions(+)
Gary> diff --git a/linux/Config.in b/linux/Config.in
Gary> index 9ebe0c9..8918297 100644
Gary> --- a/linux/Config.in
Gary> +++ b/linux/Config.in
Gary> @@ -284,6 +284,12 @@ config BR2_LINUX_KERNEL_INSTALL_TARGET
Gary> /boot in the target root filesystem, as is typically done on
Gary> x86/x86_64 systems.
Gary> +config BR2_LINUX_DEVICE_TREE_INSTALL_TARGET
Gary> + bool "Install Device Tree to /boot in target"
Gary> + depends on BR2_LINUX_KERNEL_DTS_SUPPORT
Gary> + help
Gary> + Select this option to have the device tree installed to
Gary> + /boot in the target root filesystem.
Gary> # Linux extensions
Gary> source "linux/Config.ext.in"
Gary> diff --git a/linux/linux.mk b/linux/linux.mk
Gary> index 3321d80..6d8c752 100644
Gary> --- a/linux/linux.mk
Gary> +++ b/linux/linux.mk
Gary> @@ -211,6 +211,12 @@ define LINUX_APPEND_DTB
Gary> endef
Gary> endif
Gary> +ifeq ($(BR2_LINUX_DEVICE_TREE_INSTALL_TARGET),y)
Gary> +define LINUX_INSTALL_DTB_TO_TARGET
Gary> + install -m 0644 -D $(KERNEL_ARCH_PATH)/boot/$(KERNEL_DTS_NAME).dtb $(TARGET_DIR)/boot/$(KERNEL_DTS_NAME).dtb
I've just pushed two changes to support the new dtb location since
3.8-rc1, and I committed Maxime's 'Support multiple device tree build'
patch yesterday, care to rebase against that and update the logic so it
can handle multiple .dtb files?
Thanks.
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2012-12-21 8:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-20 22:22 [Buildroot] [PATCH] dtb: provide option to install dtb to boot directory Gary Coulbourne
2012-12-21 8:21 ` Peter Korsgaard [this message]
2013-08-01 16:09 ` 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=87623vyfwc.fsf@dell.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