changeset 2427:73fb9f11c125

. Add specific make infrastructure for ARM and PowerPC. Copied from the Linux versions.
author Greg Lewis <glewis@eyesbeyond.com>
date Sun, 17 Apr 2011 09:53:40 -0700
parents b360e98a416a
children 78770fb105f7
files make/bsd/makefiles/arm.make make/bsd/makefiles/ppc.make
diffstat 2 files changed, 21 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/make/bsd/makefiles/arm.make	Sun Apr 17 09:53:40 2011 -0700
@@ -0,0 +1,10 @@
+#
+# Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
+# ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
+#
+
+Obj_Files += bsd_arm.o
+
+LIBS += $(EXT_LIBS_PATH)/sflt_glibc.a 
+
+CFLAGS += -DVM_LITTLE_ENDIAN
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/make/bsd/makefiles/ppc.make	Sun Apr 17 09:53:40 2011 -0700
@@ -0,0 +1,11 @@
+#
+# Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved.
+# ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
+#
+
+# The copied fdlibm routines in sharedRuntimeTrig.o must not be optimized
+OPT_CFLAGS/sharedRuntimeTrig.o = $(OPT_CFLAGS/NOOPT)
+
+# Must also specify if CPU is big endian
+CFLAGS += -DVM_BIG_ENDIAN
+