diff options
| author | Jens Rehsack <rehsack@gmail.com> | 2015-12-08 14:51:50 +0100 |
|---|---|---|
| committer | Maxin B. John <maxin.john@intel.com> | 2015-12-08 17:43:35 +0200 |
| commit | 04d5d0bf414c05ca59618d77f17ff9898aa1c566 (patch) | |
| tree | e4d640f95075d3291a7466a4b8af8f0421e9745b /classes | |
| parent | 0d7ba0ff39a332b0f93c4958370b2c7db9ea0e30 (diff) | |
| download | meta-java-04d5d0bf414c05ca59618d77f17ff9898aa1c566.tar.gz | |
meta-java: rely on well known bootstrap-path
Instead of potential circular depending virtual/javac-native (even this
recipe provides such a useable java-native), rely on well known path
via cacao-native to build up to icedtea7-native in reliable manner.
virtual/javac-native should be used by parts not belonging to the bootstrap
phase.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Diffstat (limited to 'classes')
| -rw-r--r-- | classes/java-bootstrap-components.bbclass | 7 | ||||
| -rw-r--r-- | classes/java-library.bbclass | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/classes/java-bootstrap-components.bbclass b/classes/java-bootstrap-components.bbclass new file mode 100644 index 0000000..0c62b5b --- /dev/null +++ b/classes/java-bootstrap-components.bbclass | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | # This is to be used by recipes which rely on java-library.bbclass | ||
| 2 | # infrastructure and their a *-native recipe are parts of the bootstrap | ||
| 3 | # process | ||
| 4 | # | ||
| 5 | |||
| 6 | DEPENDS_prepend_class-native = " ecj-bootstrap-native " | ||
| 7 | DEPENDS_prepend_class-target = " virtual/javac-native " | ||
diff --git a/classes/java-library.bbclass b/classes/java-library.bbclass index 144cd2f..a192f14 100644 --- a/classes/java-library.bbclass +++ b/classes/java-library.bbclass | |||
| @@ -35,7 +35,8 @@ def java_package_name(d): | |||
| 35 | 35 | ||
| 36 | JPN ?= "${@java_package_name(d)}" | 36 | JPN ?= "${@java_package_name(d)}" |
| 37 | 37 | ||
| 38 | DEPENDS_prepend = "virtual/javac-native fastjar-native " | 38 | DEPENDS_prepend = " fastjar-native " |
| 39 | DEPENDS_prepend_class-target = " virtual/javac-native " | ||
| 39 | 40 | ||
| 40 | PACKAGES += "${JPN}" | 41 | PACKAGES += "${JPN}" |
| 41 | 42 | ||
