diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2014-11-13 01:24:31 +0100 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2014-11-17 10:00:45 +0000 |
commit | 65007b398c4f9ca19af0d39d8daab3cb7625f6b7 (patch) | |
tree | ac08299a1296e1a6f39edd5d69079cbe342e279a /meta-initramfs/recipes-devtools/klibc | |
parent | c78eca1ea7452a62f86b740ec59f1cd39e399d73 (diff) | |
download | meta-openembedded-65007b398c4f9ca19af0d39d8daab3cb7625f6b7.tar.gz |
klibc: define KLIBCLIBGCC
Fix build of klibc extending the EXTRA_OEMAKE.
| LIST usr/klibc/klib.list
| KLIBCAR usr/klibc/libc.a
| KLIBCLD usr/klibc/libc.so
| arm-oe-linux-gnueabi-ld: cannot find libgcc.a: No such file or directory
| make[2]: *** [usr/klibc/libc.so] Error 1
| make[2]: *** Waiting for unfinished jobs....
| make[1]: *** [all] Error 2
| make: *** [klibc] Error 2
| ERROR: oe_runmake failed
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Diffstat (limited to 'meta-initramfs/recipes-devtools/klibc')
-rw-r--r-- | meta-initramfs/recipes-devtools/klibc/klibc.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc.inc b/meta-initramfs/recipes-devtools/klibc/klibc.inc index f3e9972a4..9f445e1cb 100644 --- a/meta-initramfs/recipes-devtools/klibc/klibc.inc +++ b/meta-initramfs/recipes-devtools/klibc/klibc.inc | |||
@@ -24,6 +24,7 @@ S = "${WORKDIR}/git" | |||
24 | EXTRA_OEMAKE = "'KLIBCARCH=${KLIBC_ARCH}' \ | 24 | EXTRA_OEMAKE = "'KLIBCARCH=${KLIBC_ARCH}' \ |
25 | 'CROSS_COMPILE=${TARGET_PREFIX}' \ | 25 | 'CROSS_COMPILE=${TARGET_PREFIX}' \ |
26 | 'KLIBCKERNELSRC=${STAGING_DIR_TARGET}${exec_prefix}' \ | 26 | 'KLIBCKERNELSRC=${STAGING_DIR_TARGET}${exec_prefix}' \ |
27 | 'KLIBCLIBGCC=${STAGING_DIR_TARGET}${libdir}/${TARGET_SYS}/*/libgcc.a' \ | ||
27 | 'prefix=${exec_prefix}' \ | 28 | 'prefix=${exec_prefix}' \ |
28 | 'INSTALLROOT=${D}' \ | 29 | 'INSTALLROOT=${D}' \ |
29 | 'SHLIBDIR=${libdir}' \ | 30 | 'SHLIBDIR=${libdir}' \ |