Browse Source

change the config to the cpuarch

Signed-off-by: Toshaan Bharvani <toshaan@powerel.org>
master
Toshaan Bharvani 2 years ago
parent
commit
a7961a572e
  1. 4
      SPECS/kernel-5.15.spec

4
SPECS/kernel-5.15.spec

@ -1,7 +1,7 @@
%global __spec_install_pre %{___build_pre} %global __spec_install_pre %{___build_pre}


# Define the version of the Linux Kernel Archive tarball. # Define the version of the Linux Kernel Archive tarball.
%define LKAver 5.15.41 %define LKAver 5.15.46


# Define the buildid, if required. # Define the buildid, if required.
#define buildid . #define buildid .
@ -373,7 +373,7 @@ BuildKernel() {
if [ -z "${Flavour}" ]; then if [ -z "${Flavour}" ]; then
%{__cp} config-%{cpuarch} .config %{__cp} config-%{cpuarch} .config
else else
%{__cp} config-%{_target_cpu}-${Flavour} .config %{__cp} config-%{cpuarch}-${Flavour} .config
fi fi


%define KVRFA %{version}-%{release}${Flavour}.%{_target_cpu} %define KVRFA %{version}-%{release}${Flavour}.%{_target_cpu}

Loading…
Cancel
Save