I have a yocto recipe that builds, a Java .jar file, and it's needed to be included at the target and development packages, I already tried to explicity the files, but yocto doesn't create two packages with the same content. I'm trying this:
FILES_${PN} = "${libdir}/libfoo.jar"
FILES_${PN}-dev = "${libdir}/libfoo.jar"
But the dev package still empty.
How can I add this file to theese 2 packages?