Skip to content

Commit

Permalink
updpatch: linux-tools 6.10-2
Browse files Browse the repository at this point in the history
Disable hyperv package as it is not relevant until windows supports
riscv64.
It FTBFS BTW: https://archriscv.felixc.at/.status/log.htm?url=logs/linux-tools/linux-tools-6.10-2.log
  • Loading branch information
kxxt authored and felixonmars committed Sep 24, 2024
1 parent 8ce8ff5 commit afea2c7
Showing 1 changed file with 22 additions and 12 deletions.
34 changes: 22 additions & 12 deletions linux-tools/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
diff --git PKGBUILD PKGBUILD
index 2389983d..28d092e7 100644
--- PKGBUILD
+++ PKGBUILD
@@ -11,9 +11,7 @@ pkgname=(
@@ -5,13 +5,10 @@ pkgname=(
'bootconfig'
'bpf'
'cpupower'
- 'hyperv'
'linux-tools-meta'
'perf'
# 'python-perf'
'tmon'
- 'turbostat'
'usbip'
- 'x86_energy_perf_policy'
)
pkgver=6.0
pkgver=6.10
pkgrel=2
@@ -97,11 +95,6 @@ build() {
@@ -100,11 +97,6 @@ build() {
make VERSION=$pkgver-$pkgrel
popd

Expand All @@ -24,7 +26,7 @@ index 2389983d..28d092e7 100644
echo ':: usbip'
pushd linux/tools/usb/usbip
# Fix gcc compilation
@@ -121,11 +114,6 @@ build() {
@@ -119,16 +111,6 @@ build() {
make
popd

Expand All @@ -33,12 +35,20 @@ index 2389983d..28d092e7 100644
- make
- popd
-
echo ':: hv'
pushd linux/tools/hv
CFLAGS+=' -DKVP_SCRIPTS_PATH=\"/usr/lib/hyperv/kvp_scripts/\"' make
@@ -158,9 +146,7 @@ package_linux-tools-meta() {
- echo ':: hv'
- pushd linux/tools/hv
- CFLAGS+=' -DKVP_SCRIPTS_PATH=\"/usr/lib/hypervkvpd/\"' make
- popd
-
echo ':: bpf'
pushd linux/tools/bpf
# doesn't compile when we don't first compile bpftool in its own directory and
@@ -151,12 +133,9 @@ package_linux-tools-meta() {
'bootconfig'
'bpf'
'cpupower'
- 'hyperv'
'perf'
# 'python-perf'
'tmon'
- 'turbostat'
'usbip'
Expand Down

0 comments on commit afea2c7

Please sign in to comment.