Compare commits

..

2 Commits

5 changed files with 14 additions and 14 deletions

View File

@ -14,9 +14,9 @@ Requires: opi5-efi
Source0: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/snapshot/linux-next-next-%{next_snapshot_date}.tar.gz Source0: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/snapshot/linux-next-next-%{next_snapshot_date}.tar.gz
Source1: master.inc Source1: master.inc
Patch0: patch-000-opi5-docs.patch Patch1: patch-0001-opi5-docs.patch
Patch1: patch-001-opi5-sfc-node.patch Patch2: patch-0002-opi5-sfc-node.patch
Patch2: patch-002-opi5-device-tree.patch Patch3: patch-0003-opi5-device-tree.patch
%global src_dir linux-next-next-%{next_snapshot_date} %global src_dir linux-next-next-%{next_snapshot_date}
%include %{SOURCE1} %include %{SOURCE1}

View File

@ -76,16 +76,16 @@ find ../../SOURCES -type f -name "patch-*.patch" -print0 | sort -z | xargs -t -0
# *** ERROR: ambiguous python shebang in /usr/bin/kvm_stat: #!/usr/bin/python. Change it to python3 (or python2) explicitly. # *** ERROR: ambiguous python shebang in /usr/bin/kvm_stat: #!/usr/bin/python. Change it to python3 (or python2) explicitly.
# Process all files in the Documentation, scripts and tools directories. # Process all files in the Documentation, scripts and tools directories.
pathfix.py -i "%{__python3} %{py3_shbang_opts}" -n -p \ pathfix.py -i "%{__python3} %{py3_shbang_opts}" -n -p \
tools/kvm/kvm_stat/kvm_stat \ tools/kvm/kvm_stat/kvm_stat \
scripts/show_delta \ scripts/show_delta \
scripts/jobserver-exec \ scripts/jobserver-exec \
scripts/diffconfig \ scripts/diffconfig \
scripts/clang-tools \ scripts/clang-tools \
scripts/bloat-o-meter \ scripts/bloat-o-meter \
tools \ tools \
scripts \ scripts \
Documentation \ Documentation \
drivers drivers >/dev/null 2>&1
[ -f .config ] && rm -vf .config* [ -f .config ] && rm -vf .config*
%{make} distclean %{make} distclean
@ -98,7 +98,7 @@ rm -rf kernel-tfg/
./configure-linux.sh ./configure-linux.sh
# "remake" the .config since './scripts/config' does not handle dependencies at all # "remake" the .config since './scripts/config' does not handle dependencies at all
make oldconfig make olddefconfig
%build %build
%{make} %{?_smp_mflags} PYTHON=%{__python3} %{make_targets} %{make} %{?_smp_mflags} PYTHON=%{__python3} %{make_targets}