equal
deleted
inserted
replaced
330 DEFINE_CROSS_COMPILE_ARCH="CROSS_COMPILE_ARCH:=$OPENJDK_TARGET_CPU_LEGACY" |
330 DEFINE_CROSS_COMPILE_ARCH="CROSS_COMPILE_ARCH:=$OPENJDK_TARGET_CPU_LEGACY" |
331 else |
331 else |
332 DEFINE_CROSS_COMPILE_ARCH="" |
332 DEFINE_CROSS_COMPILE_ARCH="" |
333 fi |
333 fi |
334 AC_SUBST(DEFINE_CROSS_COMPILE_ARCH) |
334 AC_SUBST(DEFINE_CROSS_COMPILE_ARCH) |
|
335 |
|
336 # Some Zero and Shark settings. |
|
337 # ZERO_ARCHFLAG tells the compiler which mode to build for |
|
338 case "${OPENJDK_TARGET_CPU}" in |
|
339 s390) |
|
340 ZERO_ARCHFLAG="-m31" |
|
341 ;; |
|
342 *) |
|
343 ZERO_ARCHFLAG="-m${OPENJDK_TARGET_CPU_BITS}" |
|
344 esac |
|
345 AC_SUBST(ZERO_ARCHFLAG) |
|
346 |
|
347 # ZERO_ARCHDEF is used to enable architecture-specific code |
|
348 case "${OPENJDK_TARGET_CPU}" in |
|
349 ppc*) ZERO_ARCHDEF=PPC ;; |
|
350 s390*) ZERO_ARCHDEF=S390 ;; |
|
351 sparc*) ZERO_ARCHDEF=SPARC ;; |
|
352 x86_64*) ZERO_ARCHDEF=AMD64 ;; |
|
353 x86) ZERO_ARCHDEF=IA32 ;; |
|
354 *) ZERO_ARCHDEF=$(echo "${OPENJDK_TARGET_CPU_LEGACY_LIB}" | tr a-z A-Z) |
|
355 esac |
|
356 AC_SUBST(ZERO_ARCHDEF) |
|
357 |
335 ]) |
358 ]) |
336 |
359 |
337 AC_DEFUN([PLATFORM_SET_RELEASE_FILE_OS_VALUES], |
360 AC_DEFUN([PLATFORM_SET_RELEASE_FILE_OS_VALUES], |
338 [ |
361 [ |
339 if test "x$OPENJDK_TARGET_OS" = "xsolaris"; then |
362 if test "x$OPENJDK_TARGET_OS" = "xsolaris"; then |