mirror of
https://github.com/dynup/kpatch
synced 2024-12-22 13:12:06 +00:00
Prepare for built-in.o -> built-in.a rename
for-next branch of kbuild repo contains a "kbuild: rename built-in.o to built-in.a" which renames all built-in.o instances. Filter on both .o and .a in kpatch-gcc/kpatch-build to be prepared for this change. Fixes #800. Signed-off-by: Artem Savkov <asavkov@redhat.com>
This commit is contained in:
parent
613794e85a
commit
cedcd2314b
@ -343,6 +343,7 @@ find_kobj() {
|
|||||||
[[ "$KOBJFILE" = *.ko ]] && return
|
[[ "$KOBJFILE" = *.ko ]] && return
|
||||||
case "$KOBJFILE" in
|
case "$KOBJFILE" in
|
||||||
*/built-in.o|\
|
*/built-in.o|\
|
||||||
|
*/built-in.a|\
|
||||||
arch/x86/lib/lib.a|\
|
arch/x86/lib/lib.a|\
|
||||||
arch/x86/kernel/head*.o|\
|
arch/x86/kernel/head*.o|\
|
||||||
arch/x86/kernel/ebda.o|\
|
arch/x86/kernel/ebda.o|\
|
||||||
|
@ -26,6 +26,7 @@ if [[ "$TOOLCHAINCMD" = "gcc" ]] ; then
|
|||||||
case "$obj" in
|
case "$obj" in
|
||||||
*.mod.o|\
|
*.mod.o|\
|
||||||
*built-in.o|\
|
*built-in.o|\
|
||||||
|
*built-in.a|\
|
||||||
vmlinux.o|\
|
vmlinux.o|\
|
||||||
.tmp_kallsyms1.o|\
|
.tmp_kallsyms1.o|\
|
||||||
.tmp_kallsyms2.o|\
|
.tmp_kallsyms2.o|\
|
||||||
|
@ -30,6 +30,7 @@ do
|
|||||||
case $i in
|
case $i in
|
||||||
*.mod.o|\
|
*.mod.o|\
|
||||||
*built-in.o|\
|
*built-in.o|\
|
||||||
|
*built-in.a|\
|
||||||
vmlinux.o|\
|
vmlinux.o|\
|
||||||
.tmp_kallsyms1.o|\
|
.tmp_kallsyms1.o|\
|
||||||
.tmp_kallsyms2.o|\
|
.tmp_kallsyms2.o|\
|
||||||
|
Loading…
Reference in New Issue
Block a user