[oe-commits] Ting Liu : libhugetlbfs: use ARCH ppc/ppc64 for powerpc/powerpc64
git at git.openembedded.org
git at git.openembedded.org
Mon Jul 21 22:04:17 UTC 2014
Module: meta-openembedded.git
Branch: master
Commit: 3efa07753667e011e417daea59c3052f47e2e030
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=3efa07753667e011e417daea59c3052f47e2e030
Author: Ting Liu <b28495 at freescale.com>
Date: Wed Jul 16 14:23:59 2014 +0800
libhugetlbfs: use ARCH ppc/ppc64 for powerpc/powerpc64
In recent libhugetlbfs source, powerpc/powerpc64 is changed back to
ppc/ppc64 (to match with the output of `uname -a`).
Update the recipe to avoid build issue for now.
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 | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
index e8e0787..e554b26 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
@@ -25,7 +25,10 @@ S = "${WORKDIR}/git"
COMPATIBLE_HOST = "(x86_64|powerpc|powerpc64|aarch64|arm).*-linux*"
LIBARGS = "LIB32=${baselib} LIB64=${baselib}"
-EXTRA_OEMAKE = "'ARCH=${TARGET_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} V=1"
+LIBHUGETLBFS_ARCH = "${TARGET_ARCH}"
+LIBHUGETLBFS_ARCH_powerpc = "ppc"
+LIBHUGETLBFS_ARCH_powerpc64 = "ppc64"
+EXTRA_OEMAKE = "'ARCH=${LIBHUGETLBFS_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} V=2"
PARALLEL_MAKE = ""
CFLAGS += "-fexpensive-optimizations -frename-registers -fomit-frame-pointer -g0"
More information about the Openembedded-commits
mailing list