[oe-commits] Ting Liu : libhugetlbfs: use ARCH ppc/ppc64 for powerpc/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: 98bc16b1a112079e6781df4d5d0f0636f100eaed
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=98bc16b1a112079e6781df4d5d0f0636f100eaed

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