diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-06-18 13:07:40 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-06-18 13:09:53 +0200 |
commit | 5f2675d2788c0b979ae35c8c59efe8864e53e02b (patch) | |
tree | 398fc047f9d05e17dde074aed2886922deb73459 | |
parent | 8aa93c39fb07e4ad59e7b1ed7af7e525b6b8ae33 (diff) |
boost: can be compiled for m68k
-rw-r--r-- | package/boost/Makefile | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/package/boost/Makefile b/package/boost/Makefile index 95be3231b..ed18cccb0 100644 --- a/package/boost/Makefile +++ b/package/boost/Makefile @@ -97,19 +97,26 @@ ifeq (${ADK_PACKAGE_BOOST_WAVE},) CONFIGURE_ARGS+= --without-wave endif -BOOST_ARCH:= $(ADK_TARGET_ARCH) - -ifeq ($(ADK_TARGET_ARCH),x86_64) -BOOST_ARCH:= x86 -endif -ifeq ($(ADK_TARGET_ARCH),ppc) -BOOST_ARCH:= power +ifeq ($(ADK_TARGET_ARCH),arm) +BOOST_ARCH:= architecture=arm endif ifeq ($(ADK_TARGET_CPU_MIPS_MIPS32),y) -BOOST_ARCH:= mips32 +BOOST_ARCH:= architecture=mips32 endif ifeq ($(ADK_TARGET_CPU_MIPS_MIPS32R2),y) -BOOST_ARCH:= mips32r2 +BOOST_ARCH:= architecture=mips32r2 +endif +ifeq ($(ADK_TARGET_ARCH),mips64) +BOOST_ARCH:= architecture=mips64 +endif +ifeq ($(ADK_TARGET_ARCH),ppc) +BOOST_ARCH:= architecture=power +endif +ifeq ($(ADK_TARGET_ARCH),sparc) +BOOST_ARCH:= architecture=sparc +endif +ifeq ($(ADK_TARGET_ARCH),x86_64) +BOOST_ARCH:= architecture=x86 endif ifeq ($(ADK_TARGET_ARCH),arm) @@ -152,7 +159,7 @@ endif threading=multi \ link=$(LINKMODE) \ runtime-link=$(LINKMODE) \ - architecture=$(BOOST_ARCH) \ + $(BOOST_ARCH) \ $(BOOST_ABI) \ binary-format=elf \ toolset=gcc-${GPP_VERSION} \ |