Skip to contentSkip to conversation

java-library: Fix build with sysroot-components

PATCH New Ricardo Ribalda Delgado 1 participant 1 message Jun 30, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 java-library: Fix build with sysroot-components

Now each recipes has its own sysroot under its WORKDIR, it we ease the jar files after prepare_recipe_sysroot we will erase the classpath.

---
 classes/java-library.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
classes/java-library.bbclass +1 -1
index 58d5a4041a9f..e21e667b7ac6 100644
@@ -54,7 +54,7 @@ do_removebinaries() {
   find ${WORKDIR} -name "*.class" -exec rm {} \;
 }
 
-addtask removebinaries after do_unpack before do_patch
+addtask removebinaries after do_unpack before prepare_recipe_sysroot
 
 do_install_append() {
   oe_jarinstall ${JARFILENAME} ${ALTJARFILENAMES}
Signature · 1 line
2.11.0