mirror of
https://abf.rosa.ru/djam/kernel-5.15.git
synced 2025-02-23 18:42:55 +00:00
Clean up after the config files have been generated
Otherwise these no longer needed configuration files get installed, which is not good.
This commit is contained in:
parent
6b2dbb8ee0
commit
ac9c3f22c5
1 changed files with 3 additions and 0 deletions
|
@ -671,6 +671,9 @@ for flav in ${FLAVOURS}; do
|
||||||
echo "Created arch/x86/configs/%{arch_suffix}_defconfig-${flav}."
|
echo "Created arch/x86/configs/%{arch_suffix}_defconfig-${flav}."
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Remove the no longer needed parts of the config files
|
||||||
|
rm -f ./kernel.*.config
|
||||||
|
|
||||||
# make sure the kernel has the sublevel we know it has...
|
# make sure the kernel has the sublevel we know it has...
|
||||||
LC_ALL=C perl -p -i -e "s/^SUBLEVEL.*/SUBLEVEL = %{sublevel}/" Makefile
|
LC_ALL=C perl -p -i -e "s/^SUBLEVEL.*/SUBLEVEL = %{sublevel}/" Makefile
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue