lkml.org 
[lkml]   [2022]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
SubjectRe: linux-next: build failure after merge of the kbuild tree
On Thu, Sep 8, 2022 at 9:06 AM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Hi all,
>
> After merging the kbuild tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
>
> ld: vmlinux.a: member arch/powerpc/kernel/prom_init_check in archive is not an object
> make[2]: *** [scripts/Makefile.vmlinux_o:61: vmlinux.o] Error 1
> make[1]: *** [Makefile:1166: vmlinux.o] Error 2
> make: *** [Makefile:222: __sub-make] Error 2
> Command exited with non-zero status 2
>
> I don't know what caused this.
>
> I have used the kbuild tree from next-20220907 with the top 4 commits
> reverted again.
>
> --
> Cheers,
> Stephen Rothwell



Sorry, it was a mis-conversion.
I will fix it up as follows:






diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile
index f264d9b2cb63..ad3decb9f20b 100644
--- a/arch/powerpc/kernel/Makefile
+++ b/arch/powerpc/kernel/Makefile
@@ -203,7 +203,7 @@ obj-$(CONFIG_ALTIVEC) += vector.o
obj-$(CONFIG_PPC64) += entry_64.o
obj-$(CONFIG_PPC_OF_BOOT_TRAMPOLINE) += prom_init.o

-obj-$(CONFIG_PPC_OF_BOOT_TRAMPOLINE) += prom_init_check
+extra-$(CONFIG_PPC_OF_BOOT_TRAMPOLINE) += prom_init_check

quiet_cmd_prom_init_check = PROMCHK $@
cmd_prom_init_check = $(CONFIG_SHELL) $< "$(NM)"
$(obj)/prom_init.o; touch $@




--
Best Regards
Masahiro Yamada

\
 
 \ /
  Last update: 2022-09-08 06:24    [W:0.046 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site