path: root/meta/recipes-devtools/libtool
diff options
authorMarek Vasut <marex@denx.de>2015-09-20 00:43:13 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-21 23:05:44 +0100
commitd3ccab5bb717da57dcaaeb1993ae0f790ce45dcb (patch)
treece56c2e07200f88a53adff318727ffc67db0d808 /meta/recipes-devtools/libtool
parentf0af7d0d9316a6eeacc0686b8c4640491f255883 (diff)
linux-yocto: depend on libgcc for nios2
Make nios2 kernel depend on libgcc. In arch/nios2/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 | nios2-poky-linux-ld.bfd: cannot find libgcc.a: No such file or directory Add libgcc to nios2 kernel dependency. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/libtool')
0 files changed, 0 insertions, 0 deletions