Browse Source

change config file naming

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
master
Toshaan Bharvani 3 years ago
parent
commit
0630f284f7
  1. 4
      SPECS/kernel-5.15.spec

4
SPECS/kernel-5.15.spec

@ -382,9 +382,9 @@ BuildKernel() {
# Select the correct flavour configuration file. # Select the correct flavour configuration file.
if [ -z "${Flavour}" ]; then if [ -z "${Flavour}" ]; then
#%{__cp} config-%{version}-%{_target_cpu} .config #%{__cp} config-%{version}-%{_target_cpu} .config
%{__cp} config-%{version}-%{configarch} .config %{__cp} config-%{cpuarch} .config
else else
%{__cp} config-%{version}-%{_target_cpu}-${Flavour} .config %{__cp} config-%{_target_cpu}-${Flavour} .config
fi fi


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

Loading…
Cancel
Save