diff options
Diffstat (limited to 'recipes-core/openjdk')
-rw-r--r-- | recipes-core/openjdk/openjdk-7-common.inc | 2 | ||||
-rw-r--r-- | recipes-core/openjdk/openjdk-8-common.inc | 4 | ||||
-rw-r--r-- | recipes-core/openjdk/openjdk-8-cross.inc | 10 |
3 files changed, 8 insertions, 8 deletions
diff --git a/recipes-core/openjdk/openjdk-7-common.inc b/recipes-core/openjdk/openjdk-7-common.inc index 794bf58..d59a57a 100644 --- a/recipes-core/openjdk/openjdk-7-common.inc +++ b/recipes-core/openjdk/openjdk-7-common.inc | |||
@@ -93,7 +93,7 @@ export ALT_CUPS_HEADERS_PATH = "${STAGING_INCDIR}" | |||
93 | export ALT_FREETYPE_HEADERS_PATH = "${STAGING_INCDIR}/freetype2" | 93 | export ALT_FREETYPE_HEADERS_PATH = "${STAGING_INCDIR}/freetype2" |
94 | export ALT_FREETYPE_LIB_PATH = "${STAGING_LIBDIR}" | 94 | export ALT_FREETYPE_LIB_PATH = "${STAGING_LIBDIR}" |
95 | export CACAO_CONFIGURE_ARGS = " \ | 95 | export CACAO_CONFIGURE_ARGS = " \ |
96 | ${@['','--enable-softfloat'][d.getVar('TARGET_FPU', True) == 'soft']}" | 96 | ${@['','--enable-softfloat'][d.getVar('TARGET_FPU') == 'soft']}" |
97 | 97 | ||
98 | JAVA_HOME[unexport] = "1" | 98 | JAVA_HOME[unexport] = "1" |
99 | 99 | ||
diff --git a/recipes-core/openjdk/openjdk-8-common.inc b/recipes-core/openjdk/openjdk-8-common.inc index 4d8f935..1fbe7fe 100644 --- a/recipes-core/openjdk/openjdk-8-common.inc +++ b/recipes-core/openjdk/openjdk-8-common.inc | |||
@@ -163,8 +163,8 @@ export DEBUG_BINARIES = "true" | |||
163 | 163 | ||
164 | ALTERNATIVE_PRIORITY = "50" | 164 | ALTERNATIVE_PRIORITY = "50" |
165 | 165 | ||
166 | OPENJDK_UPDATE_VERSION = "${@d.getVar('PV', True).split('b')[0]}" | 166 | OPENJDK_UPDATE_VERSION = "${@d.getVar('PV').split('b')[0]}" |
167 | OPENJDK_BUILD_NUMBER = "b${@d.getVar('PV', True).split('b')[1]}" | 167 | OPENJDK_BUILD_NUMBER = "b${@d.getVar('PV').split('b')[1]}" |
168 | EXTRA_OECONF_append = "\ | 168 | EXTRA_OECONF_append = "\ |
169 | --with-build-number=${OPENJDK_BUILD_NUMBER} \ | 169 | --with-build-number=${OPENJDK_BUILD_NUMBER} \ |
170 | --with-update-version=${OPENJDK_UPDATE_VERSION} \ | 170 | --with-update-version=${OPENJDK_UPDATE_VERSION} \ |
diff --git a/recipes-core/openjdk/openjdk-8-cross.inc b/recipes-core/openjdk/openjdk-8-cross.inc index 7552930..18b99fd 100644 --- a/recipes-core/openjdk/openjdk-8-cross.inc +++ b/recipes-core/openjdk/openjdk-8-cross.inc | |||
@@ -110,14 +110,14 @@ EXTRA_OEMAKE_append = '\ | |||
110 | ' | 110 | ' |
111 | 111 | ||
112 | python remove_debuglink() { | 112 | python remove_debuglink() { |
113 | dvar = d.getVar('PKGD', True) | 113 | dvar = d.getVar('PKGD') |
114 | objcopy = d.getVar("OBJCOPY", True) | 114 | objcopy = d.getVar("OBJCOPY") |
115 | 115 | ||
116 | # Remove the previous debuglink if it has existed, because it has a different file name with that we will add. | 116 | # Remove the previous debuglink if it has existed, because it has a different file name with that we will add. |
117 | if d.getVar('PN', True).find("jre") != -1: | 117 | if d.getVar('PN').find("jre") != -1: |
118 | file = dvar + d.getVar("JRE_HOME", True) + "/lib/" + d.getVar("JDK_ARCH", True) + "/server/libjvm.so" | 118 | file = dvar + d.getVar("JRE_HOME") + "/lib/" + d.getVar("JDK_ARCH") + "/server/libjvm.so" |
119 | else: | 119 | else: |
120 | file = dvar + d.getVar("JDK_HOME", True) + "/jre/lib/" + d.getVar("JDK_ARCH", True) + "/server/libjvm.so" | 120 | file = dvar + d.getVar("JDK_HOME") + "/jre/lib/" + d.getVar("JDK_ARCH") + "/server/libjvm.so" |
121 | 121 | ||
122 | cmd = "'%s' --remove-section .gnu_debuglink '%s'" % (objcopy, file) | 122 | cmd = "'%s' --remove-section .gnu_debuglink '%s'" % (objcopy, file) |
123 | oe.utils.getstatusoutput(cmd) | 123 | oe.utils.getstatusoutput(cmd) |