diff options
author | Michael Walle <michael@walle.cc> | 2016-07-15 11:58:30 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-07-29 11:00:56 +0200 |
commit | ba733d1ae943cd3495b111afc7871d2742574511 (patch) | |
tree | ecf832fcfcb7b47292f93e0b3ebcc0bff0a587fc | |
parent | eeaf3ddde229240bedb595b30b6ea637fa889b7c (diff) | |
download | meta-openembedded-ba733d1ae943cd3495b111afc7871d2742574511.tar.gz |
klibc: fix install destination in 64bit env
klibc installs everything into /usr/lib by default. But the recipe assumes
it installs to ${libdir} which is /usr/lib64 in 64bit environment. Package
generation fails badly in this case. Set INSTALLDIR to fix this.
Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-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 65ee8681e..f00e31a69 100644 --- a/meta-initramfs/recipes-devtools/klibc/klibc.inc +++ b/meta-initramfs/recipes-devtools/klibc/klibc.inc | |||
@@ -27,6 +27,7 @@ EXTRA_OEMAKE = "'KLIBCARCH=${KLIBC_ARCH}' \ | |||
27 | 'KLIBCLIBGCC=${STAGING_DIR_TARGET}${libdir}/${TARGET_SYS}/*/libgcc.a' \ | 27 | 'KLIBCLIBGCC=${STAGING_DIR_TARGET}${libdir}/${TARGET_SYS}/*/libgcc.a' \ |
28 | 'prefix=${exec_prefix}' \ | 28 | 'prefix=${exec_prefix}' \ |
29 | 'INSTALLROOT=${D}' \ | 29 | 'INSTALLROOT=${D}' \ |
30 | 'INSTALLDIR=${libdir}/klibc' \ | ||
30 | 'SHLIBDIR=${libdir}' \ | 31 | 'SHLIBDIR=${libdir}' \ |
31 | " | 32 | " |
32 | 33 | ||