Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Stephan Hoffmann <sho@relinux.de>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Linux: enable local Linux tarball in config
Date: Mon, 04 Mar 2013 11:32:38 +0100	[thread overview]
Message-ID: <51347846.4040304@relinux.de> (raw)
In-Reply-To: <1359648013-13494-1-git-send-email-sho@relinux.de>

Ping
Am 31.01.2013 17:00, schrieb Stephan Hoffmann:
> When a local file is given as BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION
> buildroot ties to load it from the net and fails.
>
> This patch adds a check and sets LINUX_SITE_METHOD to "file" in case
> the named tarball is a local file.
>
> Signed-off-by: Stephan Hoffmann <sho@relinux.de>
> ---
>  linux/linux.mk |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/linux/linux.mk b/linux/linux.mk
> index 91a9f50..fe89357 100644
> --- a/linux/linux.mk
> +++ b/linux/linux.mk
> @@ -10,6 +10,10 @@ LINUX_LICENSE_FILES = COPYING
>  # Compute LINUX_SOURCE and LINUX_SITE from the configuration
>  ifeq ($(LINUX_VERSION),custom)
>  LINUX_TARBALL = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION))
> +# If the tarball happens to be a local file SITE_METHOD is set accordingly
> +ifneq ($(wildcard $(LINUX_TARBALL)),)
> +LINUX_SITE_METHOD = "file"
> +endif
>  LINUX_SITE = $(patsubst %/,%,$(dir $(LINUX_TARBALL)))
>  LINUX_SOURCE = $(notdir $(LINUX_TARBALL))
>  else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_GIT),y)

      reply	other threads:[~2013-03-04 10:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-31 16:00 [Buildroot] [PATCH] Linux: enable local Linux tarball in config Stephan Hoffmann
2013-03-04 10:32 ` Stephan Hoffmann [this message]

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=51347846.4040304@relinux.de \
    --to=sho@relinux.de \
    --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