add pahole dependency to headers on 5.11+ (#184)
This commit is contained in:
parent
b8657b4549
commit
796eceae9d
7
PKGBUILD
7
PKGBUILD
@ -498,6 +498,13 @@ hackbase() {
|
||||
hackheaders() {
|
||||
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
|
||||
provides=("linux-headers=${pkgver}" "${pkgbase}-headers=${pkgver}")
|
||||
case $_basever in
|
||||
54|57|58|59|510)
|
||||
;;
|
||||
*)
|
||||
depends=('pahole')
|
||||
;;
|
||||
esac
|
||||
|
||||
cd "${srcdir}/${_srcpath}"
|
||||
local builddir="${pkgdir}/usr/lib/modules/$(<version)/build"
|
||||
|
Loading…
Reference in New Issue
Block a user