From 62ef6c411052dba695c8a8b6b99424b3b0c3cf14 Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Thu, 5 Oct 2023 07:39:42 +0530 Subject: [PATCH] rename patches and use olddefconfig instead of oldconfig --- kernel-opi5-tfg.spec | 6 +++--- master.inc | 2 +- patch-000-opi5-docs.patch => patch-0001-opi5-docs.patch | 0 ...01-opi5-sfc-node.patch => patch-0002-opi5-sfc-node.patch | 0 ...5-device-tree.patch => patch-0003-opi5-device-tree.patch | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename patch-000-opi5-docs.patch => patch-0001-opi5-docs.patch (100%) rename patch-001-opi5-sfc-node.patch => patch-0002-opi5-sfc-node.patch (100%) rename patch-002-opi5-device-tree.patch => patch-0003-opi5-device-tree.patch (100%) diff --git a/kernel-opi5-tfg.spec b/kernel-opi5-tfg.spec index 2c1ef02..c67cf8b 100644 --- a/kernel-opi5-tfg.spec +++ b/kernel-opi5-tfg.spec @@ -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} diff --git a/master.inc b/master.inc index aa56f04..3fdd2ba 100644 --- a/master.inc +++ b/master.inc @@ -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} diff --git a/patch-000-opi5-docs.patch b/patch-0001-opi5-docs.patch similarity index 100% rename from patch-000-opi5-docs.patch rename to patch-0001-opi5-docs.patch diff --git a/patch-001-opi5-sfc-node.patch b/patch-0002-opi5-sfc-node.patch similarity index 100% rename from patch-001-opi5-sfc-node.patch rename to patch-0002-opi5-sfc-node.patch diff --git a/patch-002-opi5-device-tree.patch b/patch-0003-opi5-device-tree.patch similarity index 100% rename from patch-002-opi5-device-tree.patch rename to patch-0003-opi5-device-tree.patch