summaryrefslogtreecommitdiff
path: root/meta/recipes-core/init-ifupdown
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2014-12-18 16:50:57 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-21 17:36:01 +0000
commit69ab638adcd8d30f35bb863254d9b112ad12b925 (patch)
treee9f98174107fb3845856887a0c7a868e99770cf9 /meta/recipes-core/init-ifupdown
parent198c67c2f9407f9c36127ff5a0778ed981778410 (diff)
downloadopenembedded-core-69ab638adcd8d30f35bb863254d9b112ad12b925.tar.gz
openembedded-core-69ab638adcd8d30f35bb863254d9b112ad12b925.tar.bz2
openembedded-core-69ab638adcd8d30f35bb863254d9b112ad12b925.zip
linux-yocto: depend on libgcc for aarch64
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) In file Makefile in top directory, libs-y is assigned to to var KBUILD_VMLINUX_MAIN. It uses script link-vmlinux.sh to link vmlinux.o, and when execute function vmlinux_link() in link-vmlinux.sh, KBUILD_VMLINUX_MAIN is passed to ${LD}. 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. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/init-ifupdown')
0 files changed, 0 insertions, 0 deletions