mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
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@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
3efa077536
commit
cd63a38d0a
@ -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"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user