From 41e1dc3f8bfea676319f3a69e8556dba2a3a279c Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 18 Mar 2007 21:45:21 +0000 Subject: [PATCH] make clean deletes .kernelrelease now trylink deleted empty linker stderr on success --- Makefile | 2 +- scripts/trylink | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5bbd872ea..3e9426084 100644 --- a/Makefile +++ b/Makefile @@ -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' diff --git a/scripts/trylink b/scripts/trylink index 1cd50c6ed..52931b01c 100755 --- a/scripts/trylink +++ b/scripts/trylink @@ -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 "" "$@" -- 2.25.1