mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
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@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user