changeset 1:8ff6e91a0455 default tip

Support building BDB on ppc Reviewed-by: chegar
author dholmes
date Tue, 26 Jun 2012 14:32:07 +0100
parents a1985f14b030
children
files make/Makefile
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/make/Makefile	Fri May 11 10:42:02 2012 +0100
+++ b/make/Makefile	Tue Jun 26 14:32:07 2012 +0100
@@ -118,8 +118,9 @@
     endif
   endif
 
-  ifeq ($(CROSS_COMPILE_ARCH), arm)
-    BDB_CONFIG_OPTIONS+=--build=i686-pc-linux-gnu --host=arm-none-linux-gnueabi \
+  # This is a crude hack and needs to be handled correctly
+  ifneq ($(CROSS_COMPILE_ARCH), )
+    BDB_CONFIG_OPTIONS+=--build=i686-pc-linux-gnu --host=$(CROSS_COMPILE_ARCH)-none-linux-gnueabi \
                         cross_compiling=yes
   endif