summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwoglinde <henning@familie-heinold.de>2012-02-13 12:25:31 -0800
committerwoglinde <henning@familie-heinold.de>2012-02-13 12:25:31 -0800
commit1dd1f5ece8749cd391ce2d0d31e9a7c23d078d38 (patch)
treede6ca71cd3ea9935d810140cd85c664df23342fa
parent79ea78885c2e3b10bfb9f5cd1ef355ad2bff83ed (diff)
parentcd2a62741931254224941988fd84bc1b6af5c852 (diff)
downloadmeta-java-1dd1f5ece8749cd391ce2d0d31e9a7c23d078d38.tar.gz
Merge pull request #16 from OSSystems/master
Fix i586 target detection
-rw-r--r--recipes-core/openjdk/openjdk-6-common.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/recipes-core/openjdk/openjdk-6-common.inc b/recipes-core/openjdk/openjdk-6-common.inc
index b4ea9ab..f38e3b6 100644
--- a/recipes-core/openjdk/openjdk-6-common.inc
+++ b/recipes-core/openjdk/openjdk-6-common.inc
@@ -10,7 +10,7 @@ ICEDTEA = "NEEDS TO BE SET"
10S = "${WORKDIR}/${ICEDTEA}" 10S = "${WORKDIR}/${ICEDTEA}"
11B = "${S}/build" 11B = "${S}/build"
12 12
13INC_PR = "r13" 13INC_PR = "r15"
14 14
15SRC_URI = "\ 15SRC_URI = "\
16 ${ICEDTEA_URI} \ 16 ${ICEDTEA_URI} \
@@ -48,7 +48,7 @@ DEPENDS_append_libc-uclibc = " libiconv "
48# that generates constants for an assembler source file. There is no other 48# that generates constants for an assembler source file. There is no other
49# way than to generate this on a pseudo machine. Cross-compiling would not help 49# way than to generate this on a pseudo machine. Cross-compiling would not help
50# because structure sizes and/or alignment may differ. 50# because structure sizes and/or alignment may differ.
51DEPENDS_append_arm = " qemu-native " 51DEPENDS_append = " qemu-native "
52 52
53 53
54# No package should directly depend on this (it should require 54# No package should directly depend on this (it should require
@@ -68,7 +68,7 @@ PRIVATE_LIBS = "\
68 " 68 "
69 69
70 70
71inherit java autotools gettext 71inherit java autotools gettext qemu
72 72
73export ALT_CUPS_HEADERS_PATH = "${STAGING_INCDIR}" 73export ALT_CUPS_HEADERS_PATH = "${STAGING_INCDIR}"
74export ALT_FREETYPE_HEADERS_PATH = "${STAGING_INCDIR}/freetype2" 74export ALT_FREETYPE_HEADERS_PATH = "${STAGING_INCDIR}/freetype2"
@@ -117,8 +117,8 @@ def get_jdk_arch(d):
117 jdk_arch = bb.data.getVar('TARGET_ARCH', d, 1) 117 jdk_arch = bb.data.getVar('TARGET_ARCH', d, 1)
118 if jdk_arch == "x86_64": 118 if jdk_arch == "x86_64":
119 jdk_arch = "amd64" 119 jdk_arch = "amd64"
120 elif (jdk_arch == "i586" or jdk_arch == "i686"): 120 elif (jdk_arch == "i486" or jdk_arch == "i586" or jdk_arch == "i686"):
121 jdk_arch = "i586" 121 jdk_arch = "i386"
122 122
123 return jdk_arch 123 return jdk_arch
124 124
@@ -250,7 +250,7 @@ EXTRA_OEMAKE += 'OE_LAUNCHER_LDFLAGS="${OE_LAUNCHER_LDFLAGS}"'
250 250
251 251
252# Large stack is required at least on x86_64 host, otherwise random segfaults appear: 252# Large stack is required at least on x86_64 host, otherwise random segfaults appear:
253QEMU = "qemu-${TARGET_ARCH} ${QEMU_OPTIONS} -s 1048576 -L ${STAGING_DIR_TARGET}" 253QEMU = "${@qemu_target_binary(d)} ${QEMU_OPTIONS} -s 1048576 -L ${STAGING_DIR_TARGET}"
254 254
255EXTRA_OEMAKE += 'QEMU="${QEMU}"' 255EXTRA_OEMAKE += 'QEMU="${QEMU}"'
256 256