From 052a320a9c1139d5457c0baa5ee0288302862a4e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 4 Nov 2015 19:45:03 +0100 Subject: boost: fix compile for MIPS --- package/boost/Makefile | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'package/boost/Makefile') diff --git a/package/boost/Makefile b/package/boost/Makefile index 91240a58a..9b14cb103 100644 --- a/package/boost/Makefile +++ b/package/boost/Makefile @@ -54,6 +54,8 @@ CONFIGURE_ARGS+= --target=$(GNU_TARGET_NAME) \ --prefix=${WRKINST}/usr \ --ignore-site-config \ --without-mpi \ + --without-context \ + --without-coroutine \ --without-locale ifneq (${ADK_PACKAGE_BOOST_IOSTREAMS},) @@ -95,16 +97,27 @@ ifeq (${ADK_PACKAGE_BOOST_WAVE},) CONFIGURE_ARGS+= --without-wave endif +BOOST_ARCH:= $(ADK_TARGET_ARCH) + ifeq ($(ADK_TARGET_ARCH),x86_64) BOOST_ARCH:= x86 -else ifeq ($(ADK_TARGET_ARCH),ppc) +endif +ifeq ($(ADK_TARGET_ARCH),ppc) BOOST_ARCH:= power -else -BOOST_ARCH:= $(ADK_TARGET_ARCH) endif +ifeq ($(ADK_CPU_MIPS_MIPS32),y) +BOOST_ARCH:= mips32 +endif +ifeq ($(ADK_CPU_MIPS_MIPS32R2),y) +BOOST_ARCH:= mips32r2 +endif + ifeq ($(ADK_TARGET_ARCH),arm) BOOST_ABI:= abi=aapcs endif +ifeq ($(ADK_TARGET_ARCH),mips) +BOOST_ABI:= abi=o32 +endif # some variables for build GPP_PATH:= ${TOOLCHAIN_DIR}/usr/bin/${GNU_TARGET_NAME}-g++ -- cgit v1.2.3