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>
This commit is contained in:
parent
1d5ad1b853
commit
ef11309c22
|
@ -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)),"")
|
||||
|
|
Loading…
Reference in New Issue