Skip to contentSkip to conversation

Fix build for per-recipe sysroot

PATCH In review Adrian Calianu 2 participants 5 messages Mar 2, 2017 – Mar 3, 2017

lore
Share & tools
lore
#0 lore raw

cover Fix build for per-recipe sysroot

Fix was done according to latest changes where dependencies are installed into a per-recipe sysroot.

Adrian Calianu (3):
classpath-native: fix build dependencies
libecj: fix build issues by adding missing dependencies
jamvm: add missing dependencies

 recipes-core/classpath/classpath-native_0.99.bb | 2 +-
 recipes-core/ecj/libecj-bootstrap.inc           | 2 +-
 recipes-core/jamvm/jamvm.inc                    | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/3 classpath-native: fix build dependencies

Add missing dependencies in order to build according to latest changes done in poky where all dependencies must be installed relative to recipe WORKDIR.

---
 recipes-core/classpath/classpath-native_0.99.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-core/classpath/classpath-native_0.99.bb +1 -1
index d49d7d7..a97cae0 100644
@@ -1,7 +1,7 @@
 require classpath-native.inc
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=af0004801732bc4b20d90f351cf80510"
-DEPENDS += "ecj-initial-native virtual/java-initial-native"
+DEPENDS += "classpath-initial-native ecj-initial-native virtual/java-initial-native"
 
 PR = "${INC_PR}.0"
 
Signature · 1 line
1.9.1
#2 lore raw

PATCH 2/3 libecj: fix build issues by adding missing dependencies

In reply to Adrian Calianu
---
 recipes-core/ecj/libecj-bootstrap.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-core/ecj/libecj-bootstrap.inc +1 -1
index dde09c6..c86654d 100644
@@ -5,7 +5,7 @@ HOMEPAGE = "http://www.eclipse.org/"
 LICENSE = "EPL-1.0"
 LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/EPL-1.0;md5=57f8d5e2b3e98ac6e088986c12bf94e6"
 
-DEPENDS = "fastjar-native jikes-initial-native virtual/java-initial-native"
+DEPENDS = "classpath-initial-native fastjar-native jikes-initial-native virtual/java-initial-native"
 
 INC_PR = "r5"
 
Signature · 1 line
1.9.1
#3 lore raw

PATCH 3/3 jamvm: add missing dependencies

In reply to Adrian Calianu

Fix build issues according to latest poky changes where all dependencies must be installed into recipe work folder.

---
 recipes-core/jamvm/jamvm.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-core/jamvm/jamvm.inc +2 -2
index 880b1e7..cad91a2 100644
@@ -4,7 +4,7 @@ LICENSE = "GPL-2.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
 
 DEPENDS = "zlib classpath virtual/javac-native libffi virtual/java-initial-native"
-DEPENDS_virtclass-native = "zlib-native classpath-native ecj-initial-native libffi-native"
+DEPENDS_virtclass-native = "virtual/java-initial-native classpath-initial-native zlib-native classpath-native ecj-initial-native libffi-native"
 
 RDEPENDS_${PN} = "classpath"
 RDEPENDS_${PN}_virtclass-native = ""
@@ -16,7 +16,7 @@ RPROVIDES_${PN}_virtclass-native = ""
 BBCLASSEXTEND = "native"
 
 
-inherit java autotools update-alternatives pkgconfig
+inherit java autotools update-alternatives pkgconfig relative_symlinks
 
 # This uses 32 bit arm, so force the instruction set to arm, not thumb
 ARM_INSTRUCTION_SET = "arm"
Signature · 1 line
1.9.1
#4 lore raw
In reply to Adrian Calianu

Hi Adrian,

Quoted 8 lines · Adrian Calianu

Fix was done according to latest changes where dependencies are installed into a per-recipe sysroot.

Adrian Calianu (3):
classpath-native: fix build dependencies
libecj: fix build issues by adding missing dependencies
jamvm: add missing dependencies

Quoted 5 lines
 recipes-core/classpath/classpath-native_0.99.bb | 2 +-
 recipes-core/ecj/libecj-bootstrap.inc           | 2 +-
 recipes-core/jamvm/jamvm.inc                    | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

Thanks lot for these fixes. Pushed to master-next.

Warm Regards,
Maxin