rename patches and use olddefconfig instead of oldconfig

This commit is contained in:
Pratham Patel 2023-10-05 07:39:42 +05:30
parent d82b52a47a
commit 62ef6c4110
No known key found for this signature in database
5 changed files with 4 additions and 4 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
Source1: master.inc
Patch0: patch-000-opi5-docs.patch
Patch1: patch-001-opi5-sfc-node.patch
Patch2: patch-002-opi5-device-tree.patch
Patch1: patch-0001-opi5-docs.patch
Patch2: patch-0002-opi5-sfc-node.patch
Patch3: patch-0003-opi5-device-tree.patch
%global src_dir linux-next-next-%{next_snapshot_date}
%include %{SOURCE1}

View File

@ -98,7 +98,7 @@ rm -rf kernel-tfg/
./configure-linux.sh
# "remake" the .config since './scripts/config' does not handle dependencies at all
make oldconfig
make olddefconfig
%build
%{make} %{?_smp_mflags} PYTHON=%{__python3} %{make_targets}