summaryrefslogtreecommitdiff
path: root/target/device/Via/epia-mii/linux.mk
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-17 15:43:51 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-17 15:43:51 +0000
commit6e2823c1fa3c470da2a14f0f9aa985d71c9ffb90 (patch)
tree4ceda86e35164f60eb7bf90bacb7d19e2adcd04a /target/device/Via/epia-mii/linux.mk
parentb9cc4a53a52b8318e10615e8ceef60efab85fae0 (diff)
- add and use BR2_BZCAT config option.
Diffstat (limited to 'target/device/Via/epia-mii/linux.mk')
-rw-r--r--target/device/Via/epia-mii/linux.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/device/Via/epia-mii/linux.mk b/target/device/Via/epia-mii/linux.mk
index 6a246d543..485636657 100644
--- a/target/device/Via/epia-mii/linux.mk
+++ b/target/device/Via/epia-mii/linux.mk
@@ -37,6 +37,7 @@ LINUX_BINLOC=arch/$(LINUX_KARCH)/boot/$(LINUX_FORMAT)
LINUX_DIR=$(BUILD_DIR)/linux-$(LINUX_VERSION)
LINUX_SOURCE=linux-$(DOWNLOAD_LINUX_VERSION).tar.bz2
+LINUX_CAT:=$(BZCAT)
LINUX_SITE=http://www.kernel.org/pub/linux/kernel/v2.6
LINUX_KCONFIG=target/device/Via/epia-mii/linux.config
LINUX_KERNEL=$(BUILD_DIR)/buildroot-kernel
@@ -50,7 +51,7 @@ $(DL_DIR)/$(LINUX_SOURCE):
$(LINUX_DIR)/.unpacked: $(DL_DIR)/$(LINUX_SOURCE)
-mkdir -p $(TOOL_BUILD_DIR)
-(cd $(TOOL_BUILD_DIR); ln -sf $(LINUX_DIR) linux)
- bzcat $(DL_DIR)/$(LINUX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ $(LINUX_CAT) $(DL_DIR)/$(LINUX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
ifneq ($(DOWNLOAD_LINUX_VERSION),$(LINUX_VERSION))
# Rename the dir from the downloaded version to the AFTER patch version
mv -f $(BUILD_DIR)/linux-$(DOWNLOAD_LINUX_VERSION) $(BUILD_DIR)/linux-$(LINUX_VERSION)