[oe-commits] Ting Liu : libhugetlbfs: not build obj32 for powerpc64

git at git.openembedded.org git at git.openembedded.org
Wed Jul 16 12:25:58 UTC 2014


Module: meta-openembedded.git
Branch: master-next
Commit: f973c55849cc5eec198b1a761916621ec582763a
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=f973c55849cc5eec198b1a761916621ec582763a

Author: Ting Liu <b28495 at freescale.com>
Date:   Wed Jul 16 14:24:00 2014 +0800

libhugetlbfs: not build obj32 for powerpc64

If obj32 needed, user can build lib32-libhugetlbfs.

Fix the below build issue for 64bit powerpc boards:
| fatal error: gnu/stubs-32.h: No such file or directory
|  # include <gnu/stubs-32.h>
|                            ^
| compilation terminated.
| make: *** [obj32/elflink.o] Error 1

Signed-off-by: Ting Liu <b28495 at freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
index e554b26..55d555b 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
@@ -29,6 +29,7 @@ LIBHUGETLBFS_ARCH = "${TARGET_ARCH}"
 LIBHUGETLBFS_ARCH_powerpc = "ppc"
 LIBHUGETLBFS_ARCH_powerpc64 = "ppc64"
 EXTRA_OEMAKE = "'ARCH=${LIBHUGETLBFS_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} V=2"
+EXTRA_OEMAKE_append_powerpc64 = " BUILDTYPE=NATIVEONLY"
 PARALLEL_MAKE = ""
 CFLAGS += "-fexpensive-optimizations -frename-registers -fomit-frame-pointer -g0"
 



More information about the Openembedded-commits mailing list