Enable selftests and bpftool on riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
parent
c236be83b2
commit
7bd1e31739
12
kernel.spec
12
kernel.spec
|
@ -131,7 +131,7 @@ Summary: The Linux kernel
|
||||||
%define patchlevel 14
|
%define patchlevel 14
|
||||||
|
|
||||||
# allow pkg_release to have configurable %%{?dist} tag
|
# allow pkg_release to have configurable %%{?dist} tag
|
||||||
%define specrelease 100%{?buildid}.0.riscv64%{?dist}
|
%define specrelease 100%{?buildid}.1.riscv64%{?dist}
|
||||||
|
|
||||||
%define pkg_release %{specrelease}
|
%define pkg_release %{specrelease}
|
||||||
|
|
||||||
|
@ -466,10 +466,6 @@ Summary: The Linux kernel
|
||||||
%define kernel_image arch/arm64/boot/Image.gz
|
%define kernel_image arch/arm64/boot/Image.gz
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch riscv64
|
|
||||||
%define with_selftests 0
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%ifarch riscv64
|
%ifarch riscv64
|
||||||
%define all_arch_configs kernel-%{version}-riscv64*.config
|
%define all_arch_configs kernel-%{version}-riscv64*.config
|
||||||
%define asmarch riscv
|
%define asmarch riscv
|
||||||
|
@ -2102,7 +2098,7 @@ BuildKernel() {
|
||||||
# the F17 UsrMove feature.
|
# the F17 UsrMove feature.
|
||||||
ln -sf $DevelDir $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
|
ln -sf $DevelDir $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
|
||||||
|
|
||||||
%ifnarch armv7hl riscv64
|
%ifnarch armv7hl
|
||||||
# Generate vmlinux.h and put it to kernel-devel path
|
# Generate vmlinux.h and put it to kernel-devel path
|
||||||
bpftool btf dump file vmlinux format c > $RPM_BUILD_ROOT/$DevelDir/vmlinux.h
|
bpftool btf dump file vmlinux format c > $RPM_BUILD_ROOT/$DevelDir/vmlinux.h
|
||||||
%endif
|
%endif
|
||||||
|
@ -2975,8 +2971,8 @@ fi
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
%changelog
|
%changelog
|
||||||
* Sat Nov 13 2021 David Abdurachmanov <david.abdurachmanov@gmail.com> [5.14.18-1.0.riscv64]
|
* Sat Nov 13 2021 David Abdurachmanov <david.abdurachmanov@gmail.com> [5.14.18-1.1.riscv64]
|
||||||
- Enable riscv64 arch
|
- Enable selftest and bpftool on riscv64
|
||||||
|
|
||||||
* Fri Nov 12 2021 Justin M. Forbes <jforbes@fedoraproject.org> [5.14.18-1]
|
* Fri Nov 12 2021 Justin M. Forbes <jforbes@fedoraproject.org> [5.14.18-1]
|
||||||
- usb: xhci: tegra: Check padctrl interrupt presence in device tree (Dmitry Osipenko)
|
- usb: xhci: tegra: Check padctrl interrupt presence in device tree (Dmitry Osipenko)
|
||||||
|
|
Loading…
Reference in New Issue