[oe] help with bitbake recipe

Koen Kooi k.kooi at student.utwente.nl
Tue Jul 15 11:20:59 UTC 2008


Shawn Rutledge wrote:
> I'm trying to build some Chicken Scheme ipk's for OpenMoko.  It's
> making them, but putting some docs in the main package, and not enough
> stuff in the chicken-doc package.  Judging from other bb files it
> looks like the thing to do is something like this, at the end:
>
> FILES_chicken-doc = "${prefix}/share/chicken/doc ${prefix}/share/info
> ${prefix}/share/man"
>
> or maybe
>
> FILES_${PN}-doc = "${prefix}/share/chicken/doc ${prefix}/share/info
> ${prefix}/share/man"

Try altering FILES_${PN}, since that gets packages before ${PN}-doc

>
> However that's not taking effect:
>
> /var/media/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/chicken-3.3.0-r0
> [neutron][01:08:10 AM] grep -r FILES_chick * 2>/dev/null
> staging-pkg/staging/pkgdata/armv4t-angstrom-linux-gnueabi/runtime/chicken:FILES_chicken:
> /usr/bin/* /usr/sbin/* /usr/libexec/* /usr/lib/lib*.so.* /etc /usr/com
> /var /bin/* /sbin/* /lib/*.so* /usr/share/chicken /usr/lib/chicken/*
> /usr/share/pixmaps /usr/share/applications /usr/share/idl
> /usr/share/omf /usr/share/sounds /usr/lib/bonobo/servers
> staging-pkg/staging/pkgdata/armv4t-angstrom-linux-gnueabi/runtime/chicken-dbg:FILES_chicken-dbg:
> /usr/bin/.debug /usr/sbin/.debug /usr/libexec/.debug /usr/lib/.debug
> /bin/.debug /sbin/.debug /lib/.debug /usr/lib/chicken/.debug
> /usr/lib/matchbox-panel/.debug
> staging-pkg/staging/pkgdata/armv4t-angstrom-linux-gnueabi/runtime/chicken-dev:FILES_chicken-dev:
> /usr/include /usr/lib/lib*.so /usr/lib/*.la /usr/lib/*.a /usr/lib/*.o
> /usr/lib/pkgconfig /lib/*.a /lib/*.o /usr/share/aclocal
> staging-pkg/staging/pkgdata/armv4t-angstrom-linux-gnueabi/runtime/chicken-doc:FILES_chicken-doc:
> /usr/share/doc /usr/share/man /usr/share/info /usr/share/gtk-doc
> /usr/share/gnome/help
> staging-pkg/staging/pkgdata/armv4t-angstrom-linux-gnueabi/runtime/chicken-locale:FILES_chicken-locale:
> /usr/share/locale
>
> I keep trying by doing
> bitbake -vD chicken -c rebuild

bitbake -b chicken_3.3.0.bb -c install -f ; bitbake -b chicken_3.3.0.bb 
-c package_write

regards,

Koen





More information about the Openembedded-devel mailing list