From: Peter Seiderer <ps.report@gmx.net>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] uboot: qstrip BR2_TARGET_UBOOT_CUSTOM_DTS_PATH
Date: Fri, 7 Apr 2017 21:46:50 +0200 [thread overview]
Message-ID: <20170407214650.73cdc0dc@gmx.net> (raw)
In-Reply-To: <20170407100323.6871-1-michael@amarulasolutions.com>
Hello Michael,
On Fri, 7 Apr 2017 12:03:22 +0200, Michael Trimarchi <michael@amarulasolutions.com> wrote:
> We need to avoid failing of copy of custom dts using
> cp -f <> command. Just strip in the beginning as done
> for other configuration variable
>
> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
> ---
> boot/uboot/uboot.mk | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
> index 1d464d967..f0f39f3bd 100644
> --- a/boot/uboot/uboot.mk
> +++ b/boot/uboot/uboot.mk
> @@ -6,6 +6,7 @@
>
> UBOOT_VERSION = $(call qstrip,$(BR2_TARGET_UBOOT_VERSION))
> UBOOT_BOARD_NAME = $(call qstrip,$(BR2_TARGET_UBOOT_BOARDNAME))
> +UBOOT_CUSTOM_DTS_PATH=$(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_DTS_PATH))
>
> UBOOT_LICENSE = GPL-2.0+
> UBOOT_LICENSE_FILES = Licenses/gpl-2.0.txt
> @@ -195,8 +196,8 @@ endef
> endif # BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY
>
> define UBOOT_BUILD_CMDS
> - $(if $(BR2_TARGET_UBOOT_CUSTOM_DTS_PATH),
> - cp -f $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_DTS_PATH)) $(@D)/arch/$(UBOOT_ARCH)/dts/
> + $(if $(UBOOT_CUSTOM_DTS_PATH),
> + cp -f $(UBOOT_CUSTOM_DTS_PATH) $(@D)/arch/$(UBOOT_ARCH)/dts/
> )
> $(TARGET_CONFIGURE_OPTS) \
> $(MAKE) -C $(@D) $(UBOOT_MAKE_OPTS) \
Tested-by: Peter Seiderer <ps.report@gmx.net>
Regards,
Peter
next prev parent reply other threads:[~2017-04-07 19:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-07 10:03 [Buildroot] [PATCH 1/2] uboot: qstrip BR2_TARGET_UBOOT_CUSTOM_DTS_PATH Michael Trimarchi
2017-04-07 10:03 ` [Buildroot] [PATCH 2/2] beaglebone: increase size of ext4 more then 60MB Michael Trimarchi
2017-04-08 13:31 ` Thomas Petazzoni
2017-04-07 19:46 ` Peter Seiderer [this message]
2017-04-08 13:30 ` [Buildroot] [PATCH 1/2] uboot: qstrip BR2_TARGET_UBOOT_CUSTOM_DTS_PATH 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=20170407214650.73cdc0dc@gmx.net \
--to=ps.report@gmx.net \
--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