mirror of
https://abf.rosa.ru/djam/kernel-5.15.git
synced 2025-02-23 10:32:54 +00:00
wipe leftovers
This commit is contained in:
parent
59b214f027
commit
6df43f5746
1 changed files with 5 additions and 0 deletions
|
@ -1048,6 +1048,11 @@ sed -i 's/CONFIG_DEBUG_WX=y/# CONFIG_DEBUG_WX is not set/' .config
|
|||
|
||||
touch %{build_dir}/.config.append
|
||||
|
||||
# get rid of unwanted files
|
||||
find . -name '*~' -o -name '*.orig' -o -name '*.append' -delete
|
||||
# wipe all .gitignore/.get_maintainer.ignore files
|
||||
find . -name "*.g*ignore" -delete
|
||||
|
||||
# Enable debug info if requested.
|
||||
sed -i '/CONFIG_DEBUG_INFO/d' .config
|
||||
%if %build_debug
|
||||
|
|
Loading…
Add table
Reference in a new issue