File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -2783,7 +2783,7 @@ export BPFTOOL=$(pwd)/tools/bpf/bpftool/bpftool
27832783pushd tools/testing/selftests
27842784# We need to install here because we need to call make with ARCH set which
27852785# doesn't seem possible to do in the install section.
2786- %{make} %{?_smp_mflags} ARCH=$Arch V=1 TARGETS="bpf cgroup mm livepatch net net/forwarding net/mptcp netfilter tc-testing memfd drivers/net/bonding iommu" SKIP_TARGETS="" FORCE_TARGETS=1 INSTALL_PATH=%{buildroot}%{_libexecdir}/kselftests VMLINUX_H="${RPM_VMLINUX_H}" DEFAULT_INSTALL_HDR_PATH=0 install
2786+ %{make} %{?_smp_mflags} ARCH=$Arch V=1 TARGETS="bpf cgroup mm livepatch net net/forwarding net/mptcp netfilter tc-testing memfd drivers/net/bonding iommu cachestat " SKIP_TARGETS="" FORCE_TARGETS=1 INSTALL_PATH=%{buildroot}%{_libexecdir}/kselftests VMLINUX_H="${RPM_VMLINUX_H}" DEFAULT_INSTALL_HDR_PATH=0 install
27872787
27882788# 'make install' for bpf is broken and upstream refuses to fix it.
27892789# Install the needed files manually.
@@ -3177,6 +3177,12 @@ find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/iommu/{} \;
31773177find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/iommu/{} \;
31783178find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/iommu/{} \;
31793179popd
3180+ # install cachestat selftests
3181+ pushd tools/testing/selftests/cachestat
3182+ find -type d -exec install -d %{buildroot}%{_libexecdir}/kselftests/cachestat/{} \;
3183+ find -type f -executable -exec install -D -m755 {} %{buildroot}%{_libexecdir}/kselftests/cachestat/{} \;
3184+ find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/kselftests/cachestat/{} \;
3185+ popd
31803186%endif
31813187
31823188###
You can’t perform that action at this time.
0 commit comments