* help with bitbake recipe
@ 2008-07-15 8:26 Shawn Rutledge
2008-07-15 11:20 ` Koen Kooi
0 siblings, 1 reply; 4+ messages in thread
From: Shawn Rutledge @ 2008-07-15 8:26 UTC (permalink / raw)
To: openembedded-devel
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"
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: help with bitbake recipe
2008-07-15 8:26 help with bitbake recipe Shawn Rutledge
@ 2008-07-15 11:20 ` Koen Kooi
2008-07-15 17:33 ` Shawn Rutledge
0 siblings, 1 reply; 4+ messages in thread
From: Koen Kooi @ 2008-07-15 11:20 UTC (permalink / raw)
To: openembedded-devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: help with bitbake recipe
2008-07-15 11:20 ` Koen Kooi
@ 2008-07-15 17:33 ` Shawn Rutledge
2008-07-15 17:40 ` Mike (mwester)
0 siblings, 1 reply; 4+ messages in thread
From: Shawn Rutledge @ 2008-07-15 17:33 UTC (permalink / raw)
To: openembedded-devel
On Tue, Jul 15, 2008 at 4:20 AM, Koen Kooi <k.kooi@student.utwente.nl> wrote:
> Try altering FILES_${PN}, since that gets packages before ${PN}-doc
So does it subtract the files it found in FILES_${PN} from being
available for the following packages?
> bitbake -b chicken_3.3.0.bb -c install -f ; bitbake -b chicken_3.3.0.bb -c
> package_write
Thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: help with bitbake recipe
2008-07-15 17:33 ` Shawn Rutledge
@ 2008-07-15 17:40 ` Mike (mwester)
0 siblings, 0 replies; 4+ messages in thread
From: Mike (mwester) @ 2008-07-15 17:40 UTC (permalink / raw)
To: openembedded-devel
Shawn Rutledge wrote:
> On Tue, Jul 15, 2008 at 4:20 AM, Koen Kooi <k.kooi@student.utwente.nl> wrote:
>> Try altering FILES_${PN}, since that gets packages before ${PN}-doc
>
> So does it subtract the files it found in FILES_${PN} from being
> available for the following packages?
Yes, so you need to alter the pattern matching so that it matches only
what you want in the base package.
>> bitbake -b chicken_3.3.0.bb -c install -f ; bitbake -b chicken_3.3.0.bb -c
>> package_write
>
> Thanks.
mike (mwester)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-07-15 17:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-15 8:26 help with bitbake recipe Shawn Rutledge
2008-07-15 11:20 ` Koen Kooi
2008-07-15 17:33 ` Shawn Rutledge
2008-07-15 17:40 ` Mike (mwester)
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.