mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/linux-tools: fix
This commit is contained in:
parent
6ead29c2f4
commit
6ff06ad1de
1 changed files with 2 additions and 2 deletions
|
@ -126,7 +126,7 @@ build() {
|
|||
popd
|
||||
|
||||
msg2 'bpf'
|
||||
pushd linux/tools/bpf
|
||||
pushd linux-$pkgver/tools/bpf
|
||||
# doesn't compile when we don't first compile bpftool in its directory
|
||||
cd bpftool
|
||||
make
|
||||
|
@ -274,7 +274,7 @@ package_bpf() {
|
|||
pkgdesc='BPF tools'
|
||||
depends=('glibc')
|
||||
|
||||
cd linux/tools/bpf
|
||||
cd linux-$pkgver/tools/bpf
|
||||
make install prefix=/usr DESTDIR="$pkgdir"
|
||||
# fix bpftool hard written path
|
||||
mv "$pkgdir"/usr/sbin/bpftool "$pkgdir"/usr/bin/bpftool
|
||||
|
|
Loading…
Reference in a new issue