mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
kbuild: clean .tmp_* pattern by make clean
Change the "make clean" rule to remove all the .tmp_* files. .tmp_objdiff is the only exception, which should be removed by "make mrproper". Rename the record directory of objdiff, .tmp_objdiff to .objdiff to avoid the removal by "make clean". Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Tested-by: Sedat Dilek <sedat.dilek@gmail.com> # LLVM-14 (x86-64)
This commit is contained in:
parent
a78b6afa99
commit
b0d6207bad
3 changed files with 5 additions and 8 deletions
|
@ -20,10 +20,10 @@
|
|||
# $ ./scripts/objdiff diff COMMIT_A COMMIT_B
|
||||
# $
|
||||
|
||||
# And to clean up (everything is in .tmp_objdiff/*)
|
||||
# And to clean up (everything is in .objdiff/*)
|
||||
# $ ./scripts/objdiff clean all
|
||||
#
|
||||
# Note: 'make mrproper' will also remove .tmp_objdiff
|
||||
# Note: 'make mrproper' will also remove .objdiff
|
||||
|
||||
SRCTREE=$(cd $(git rev-parse --show-toplevel 2>/dev/null); pwd)
|
||||
|
||||
|
@ -32,7 +32,7 @@ if [ -z "$SRCTREE" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
TMPD=$SRCTREE/.tmp_objdiff
|
||||
TMPD=$SRCTREE/.objdiff
|
||||
|
||||
usage() {
|
||||
echo >&2 "Usage: $0 <command> <args>"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue