From 12da6420df59fdbad72499e8faf887b7d5c8f437 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Thu, 4 Jun 2009 16:17:47 -0400 Subject: [PATCH] Exclude built-in.o from the debug directory. Signed-off-by: Anders Kaseorg --- ksplice-create.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ksplice-create.in b/ksplice-create.in index 2a107b8..72ffa34 100644 --- a/ksplice-create.in +++ b/ksplice-create.in @@ -262,7 +262,7 @@ sub copy_debug { mkdir("$tmpdir/objects"); for (split(/\0/, runstr(qw(find -name *.KSPLICE* ! ( -name *.KSPLICE -empty ) ! -name .*.KSPLICE.cmd -print0)))) { - next if (basename($_) =~ m/^(?:vmlinux|vmlinux\.o|\.tmp_vmlinux[0-9]+|\.tmp_kallsyms[0-9]+.o)\.KSPLICE_pre$/); + next if (basename($_) =~ m/^(?:vmlinux|vmlinux\.o|\.tmp_vmlinux[0-9]+|\.tmp_kallsyms[0-9]+.o|built-in.o)\.KSPLICE_pre$/); copy_debug($_); copy_debug($1) if (m/^(.*)\.KSPLICE_pre(?:src)?$/); } -- 2.11.4.GIT