-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 9/16/14 8:06 AM, Kai Kang wrote: > Make aarch aarch64 kernel depend on libgcc. In arch/arm64/Makefile, it > adds LIBGCC to libs-y: > > LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name) > libs-y += $(LIBGCC) > > If build without libgcc, the value of LIBGCC is just libgcc.a without > parent directory. linux-yocto fails to build: > > | LD vmlinux.o > | aarch64-poky-linux-ld.bfd: cannot find libgcc.a: No such file or directory > > Add libgcc to aarch64 kernel dependency. really ? usually kernel has its own routines to substitute libgcc needs. why is it different here. > > Signed-off-by: Kai Kang <kai.k...@windriver.com> > --- > meta/recipes-kernel/linux/linux-yocto.inc | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/meta/recipes-kernel/linux/linux-yocto.inc > b/meta/recipes-kernel/linux/linux-yocto.inc > index 4ed3188..db693e6 100644 > --- a/meta/recipes-kernel/linux/linux-yocto.inc > +++ b/meta/recipes-kernel/linux/linux-yocto.inc > @@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = > "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" > INC_PR = "r4" > > DEPENDS += "xz-native bc-native" > +DEPENDS_aarch64 += "libgcc" > this should be using append instead of += > # A KMACHINE is the mapping of a yocto $MACHINE to what is built > # by the kernel. This is typically the branch that should be built, > - -- - -Khem -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) Comment: GPGTools - https://gpgtools.org iEYEARECAAYFAlQagi0ACgkQuwUzVZGdMxQfGwCaAuY+dIXbAnQ9tTOIA4MFSwhe wEwAn1FxFeun292octWdy0sYJqtGRPOb =5Tcg -----END PGP SIGNATURE----- -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core