aboutsummaryrefslogtreecommitdiff
path: root/meta-aarch64
diff options
context:
space:
mode:
authorAndrew McDermott <andrew.mcdermott@linaro.org>2014-04-03 16:34:26 +0100
committerAndrew McDermott <andrew.mcdermott@linaro.org>2014-04-03 16:50:08 +0100
commit37ca7f11ddbe21779be8f7d0ec099de0832d036c (patch)
tree9d8da46f13c4599bc29b2b315091ef3a1bbf39a6 /meta-aarch64
parenta89bcc106e522889e244d264c3a1120218eb924a (diff)
openjdk8: remove non-aarch64 binaries from openjdk8-jtreg package
The upstream Mercurial repo has various incompatible binaries checked in. Remove these otherwise bitbake complains about mismatched architecture, et al. Change-Id: Ie0bfd64b3d6aa217c92038b23d3a4faa2c6d0b23 Signed-off-by: Andrew McDermott <andrew.mcdermott@linaro.org>
Diffstat (limited to 'meta-aarch64')
-rw-r--r--meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc b/meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc
index a3ea3e07..a3aef743 100644
--- a/meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc
+++ b/meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc
@@ -73,9 +73,10 @@ do_install() {
# The upstream Mercurial repo has various incompatible binaries checked in.
# Remove these otherwise bitbake complains about mismatched architecture, et al.
find ${D}${JDK_HOME}/jtreg -name \*.so -print | xargs rm
- rm ${D}${JDK_HOME}/jtreg/jdk/test/sun/management/jmxremote/bootstrap/solaris-sparc/launcher
- rm ${D}${JDK_HOME}/jtreg/jdk/test/sun/management/jmxremote/bootstrap/solaris-i586/launcher
rm ${D}${JDK_HOME}/jtreg/jdk/test/sun/management/jmxremote/bootstrap/linux-i586/launcher
+ rm ${D}${JDK_HOME}/jtreg/jdk/test/sun/management/jmxremote/bootstrap/linux-amd64/launcher
+ rm ${D}${JDK_HOME}/jtreg/jdk/test/sun/management/jmxremote/bootstrap/solaris-sparcv9/launcher
+ rm ${D}${JDK_HOME}/jtreg/jdk/test/sun/management/jmxremote/bootstrap/solaris-amd64/launcher
chmod -R u+rw,go+r ${D}${JDK_HOME}
}