Hilst:

You can specify what files get installed to what packages with 
FILES_${PN}-<package_name>

In your case, something like:

FILES_${PN} = "${libdir}/libDigital*"

FILES_${PN}-dbg = “"${libdir}/.debug/*"

would probably work fine.

I’d also recommend using “oe_runmake” instead of “make” in your build function.

-Erik

From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On 
Behalf Of Daniel.
Sent: Wednesday, March 18, 2015 12:48 PM
To: yocto@yoctoproject.org
Subject: [yocto] .rpm not being generated (or empty)

Hi all,
I write a recipe to build an JNI layer for my C library, the JNI library gets 
compiled right, but no .rpm is generated besides -dev and -dbg. I suspect that 
the rpm is getting empty.
Here is the recipe: http://pastebin.com/vqtaM1Fv
Looking on package directory I got the compiled .so's
[root@arch 1.0-r0]# find package
package
package/usr
package/usr/lib
package/usr/lib/libDigitalInputJni.so
package/usr/lib/libDigitalOutputJni.so
package/usr/lib/.debug
package/usr/lib/.debug/libDigitalOutputJni.so
package/usr/lib/.debug/libDigitalInputJni.so
But on packages-split I got nothing:
[root@arch 1.0-r0]# ls packages-split/libdigitalio-jni
total 0

Any idea what I'm missing?

Regards,
Hilst

--
"Do or do not. There is no try"
  Yoda Master
Disclaimer: This message contains information that may be privileged or 
confidential and is the property of AgJunction Inc and its subsidiaries. It is 
intended only for the person to whom it is addressed. If you are not the 
intended recipient, you are not authorized to read, print, retain, copy, 
disseminate, distribute, or use this message or any part thereof. If you 
receive this message in error, please notify the sender immediately and delete 
all copies of this message.
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to