diff --git a/kpatch-build/kpatch-build b/kpatch-build/kpatch-build index 61009f0..307d2a2 100755 --- a/kpatch-build/kpatch-build +++ b/kpatch-build/kpatch-build @@ -343,6 +343,7 @@ find_kobj() { [[ "$KOBJFILE" = *.ko ]] && return case "$KOBJFILE" in */built-in.o|\ + */built-in.a|\ arch/x86/lib/lib.a|\ arch/x86/kernel/head*.o|\ arch/x86/kernel/ebda.o|\ diff --git a/kpatch-build/kpatch-gcc b/kpatch-build/kpatch-gcc index 6ba133c..ab6094b 100755 --- a/kpatch-build/kpatch-gcc +++ b/kpatch-build/kpatch-gcc @@ -26,6 +26,7 @@ if [[ "$TOOLCHAINCMD" = "gcc" ]] ; then case "$obj" in *.mod.o|\ *built-in.o|\ + *built-in.a|\ vmlinux.o|\ .tmp_kallsyms1.o|\ .tmp_kallsyms2.o|\ diff --git a/test/difftree.sh b/test/difftree.sh index 08f90d9..251147e 100755 --- a/test/difftree.sh +++ b/test/difftree.sh @@ -30,6 +30,7 @@ do case $i in *.mod.o|\ *built-in.o|\ + *built-in.a|\ vmlinux.o|\ .tmp_kallsyms1.o|\ .tmp_kallsyms2.o|\