[oe] help with bitbake recipe

Shawn Rutledge shawn.t.rutledge at gmail.com
Tue Jul 15 08:26:50 UTC 2008


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"

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

after I make a change.  I wish I didn't have to recompile it too, just
to retry the packaging.

Another one:  at what point is EXTRA_OEMAKE applied?  I was hoping it
would set some extra env variables every time make is run, but doesn't
seem to.

EXTRA_OEMAKE = "PLATFORM=linux PREFIX=/usr"




More information about the Openembedded-devel mailing list