aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2020-11-26 16:12:12 +0100
committerFelix Fietkau <nbd@nbd.name>2020-12-05 12:06:30 +0100
commitef11309c22fae2fb27e8c32163b5ca274468e82e (patch)
treefd392cc39191a0b470b6d7914d6837acff5e375c
parent1d5ad1b85365a4376f8560bbadffc5fe7fb131a3 (diff)
downloadupstream-ef11309c22fae2fb27e8c32163b5ca274468e82e.tar.gz
upstream-ef11309c22fae2fb27e8c32163b5ca274468e82e.tar.bz2
upstream-ef11309c22fae2fb27e8c32163b5ca274468e82e.zip
build: make testing kernel decompression more portable
On non-GNU systems, zcat often does not handle gzip decompression. Use gzip -dc like the regular unpack command Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--include/kernel-defaults.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk
index db93a53d71..863c180e48 100644
--- a/include/kernel-defaults.mk
+++ b/include/kernel-defaults.mk
@@ -24,7 +24,7 @@ Kernel/Patch:=$(Kernel/Patch/Default)
ifneq (,$(findstring .xz,$(LINUX_SOURCE)))
LINUX_CAT:=xzcat
else
- LINUX_CAT:=zcat
+ LINUX_CAT:=gzip -dc
endif
ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"")