Commit 73d210e9 authored by Michał Górny's avatar Michał Górny Committed by Masahiro Yamada
Browse files

kheaders: make it possible to override TAR

Commit 86cdd2fd ("kheaders: make headers archive reproducible")
introduced a number of options specific to GNU tar to the `tar`
invocation in `gen_kheaders.sh` script. This causes the script to fail
to work on systems where `tar` is not GNU tar. This can occur e.g.
on recent Gentoo Linux installations that support using bsdtar from
libarchive instead.

Add a `TAR` make variable to make it possible to override the tar
executable used, e.g. by specifying:

  make TAR=gtar

Link: https://bugs.gentoo.org/884061


Reported-by: default avatarSam James <sam@gentoo.org>
Tested-by: default avatarSam James <sam@gentoo.org>
Co-developed-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
Signed-off-by: default avatarMichał Górny <mgorny@gentoo.org>
Signed-off-by: default avatarSam James <sam@gentoo.org>
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 936599ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment