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:
Evgenii Shatokhin 2016-07-22 16:37:05 +03:00
parent 6b2dbb8ee0
commit ac9c3f22c5

View file

@ -671,6 +671,9 @@ for flav in ${FLAVOURS}; do
echo "Created arch/x86/configs/%{arch_suffix}_defconfig-${flav}."
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...
LC_ALL=C perl -p -i -e "s/^SUBLEVEL.*/SUBLEVEL = %{sublevel}/" Makefile