Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Raúl Sánchez Siles" <rasasi78@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Choose xz compressed tarball for linux kernel.
Date: Sat, 11 May 2013 13:40:36 +0200	[thread overview]
Message-ID: <201305111340.38788.rasasi78@gmail.com> (raw)

Prefer xz compressed tarball so some bandwidth is saved for kernel headers and 
kernel itself downloads.

Signed-off-by: Ra?l S?nchez Siles <rasasi78@gmail.com>
---
 linux/linux.mk                             |    2 +-
 toolchain/kernel-headers/kernel-headers.mk |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/linux/linux.mk b/linux/linux.mk
index d375cf0..3115564 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -16,7 +16,7 @@ else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_GIT),y)
 LINUX_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL))
 LINUX_SITE_METHOD = git
 else
-LINUX_SOURCE = linux-$(LINUX_VERSION).tar.bz2
+LINUX_SOURCE = linux-$(LINUX_VERSION).tar.xz
 # In X.Y.Z, get X and Y. We replace dots and dashes by spaces in order
 # to use the $(word) function. We support versions such as 3.1,
 # 2.6.32, 2.6.32-rc1, 3.0-rc6, etc.
diff --git a/toolchain/kernel-headers/kernel-headers.mk b/toolchain/kernel-
headers/kernel-headers.mk
index adf7bc4..b5ae322 100644
--- a/toolchain/kernel-headers/kernel-headers.mk
+++ b/toolchain/kernel-headers/kernel-headers.mk
@@ -31,8 +31,8 @@ LINUX_HEADERS_SITE:=$(BR2_KERNEL_MIRROR:/=)/linux/kernel/v2.6/
 else
 LINUX_HEADERS_SITE:=$(BR2_KERNEL_MIRROR:/=)/linux/kernel/v3.x/
 endif
-LINUX_HEADERS_SOURCE:=linux-$(LINUX_HEADERS_VERSION).tar.bz2
-LINUX_HEADERS_CAT:=$(BZCAT)
+LINUX_HEADERS_SOURCE:=linux-$(LINUX_HEADERS_VERSION).tar.xz
+LINUX_HEADERS_CAT:=$(XZCAT)
 LINUX_HEADERS_UNPACK_DIR:=$(TOOLCHAIN_DIR)/linux-$(LINUX_HEADERS_VERSION)
 LINUX_HEADERS_DIR:=$(TOOLCHAIN_DIR)/linux
 
-- 
1.7.10.4

             reply	other threads:[~2013-05-11 11:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-11 11:40 Raúl Sánchez Siles [this message]
2013-05-11 12:02 ` [Buildroot] [PATCH] Choose xz compressed tarball for linux kernel Thomas Petazzoni
2013-05-11 20:44 ` Peter Korsgaard
  -- strict thread matches above, loose matches on Subject: below --
2013-05-10 23:04 Raúl Sánchez Siles
2013-05-11 10:11 ` 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=201305111340.38788.rasasi78@gmail.com \
    --to=rasasi78@gmail.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