make clean deletes .kernelrelease now

trylink deleted empty linker stderr on success
This commit is contained in:
Denis Vlasenko 2007-03-18 21:45:21 +00:00
parent 4b4b619c9c
commit 41e1dc3f8b
2 changed files with 2 additions and 2 deletions

View File

@ -906,7 +906,7 @@ endif # CONFIG_MODULES
# Directories & files removed with 'make clean'
CLEAN_DIRS += $(MODVERDIR)
CLEAN_FILES += busybox* System.map \
CLEAN_FILES += busybox* System.map .kernelrelease \
.tmp_kallsyms* .tmp_version .tmp_busybox* .tmp_System.map
# Directories & files removed with 'make mrproper'

View File

@ -7,7 +7,7 @@ try() {
shift
$debug && echo "Trying: $* $added"
"$@" $added >busybox.map 2>busybox_ld.err \
&& exit 0
&& { rm busybox_ld.err; exit 0; }
}
try "" "$@"