Ok, I think I got it. This is what I put in the bb file:
PACKAGES = "${PN} ${PN}-dev"
FILES_${PN} = "${libdir}/*.so"
FILES_${PN}-dev = "${includedir}"
AUTO_LIBNAME_PKGS = "serializeclass"

However, now I am not getting serializeclass-dev. It's not really needed for 
this particular package but I will need it for some of the others. In any 
event, I now have a 
/home/oc60174/oe/build/tmp/deploy/ipk/serializeclass_11424.1.1-r0_armv5te.ipk

Thanks for your help.

I will probably be mailing again, if I can't get the includedir stuff packaged 
up.

Rob
 -------------- Original message ----------------------
From: [EMAIL PROTECTED]
> Justin, I also recall, that Kergoth on irc mentioned that bitbake 
> automatically 
> put .so files in the -dev package. But I couldn't figure out how to over-ride 
> it. I will try the ${PN} on it as well.
> 
> Rob
>  -------------- Original message ----------------------
> From: "Justin Patrin" <[EMAIL PROTECTED]>
> > On 8/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > > Ok, I got the thing to compile by doing the patch in the PlutoUtils bb 
> > > file, 
> > staging the headers, cpp files etc. then compiling Orbiter.
> > >
> > > Now I have a problem in that I can't seem to get the ipk files to go into 
> the 
> > packagename.ipk. It keeps wanting to put it in the packagename-dev.ipk. I 
> > have 
> > grep'd the bb files and have tried putting:
> > >
> > > PACKAGES = "serializeclass serializeclass-dev"
> > > FILES_serializeclass = "${libdir}/libSerializeClass.so"
> > > FILES_serializeclass-dev = "${FILES_serializeclass}"
> > > AUTO_LIBNAME_PKGS = "serializeclass"
> > 
> > Try using ${PN} above instead of serializeclass. Also, setting -dev to
> > the same files as the main package doesn't seem like a good idea. You
> > could just leave it alone, I think there is a sane default.
> > 
> > >
> > > But the build/tmp/work/serializeclass-11424.1.1-r0/install/serializeclass 
> > folder is empty. The .so and .a libs are in the 
> > build/tmp/work/serializeclass-11424.1.1-r0/install/serializeclass-dev 
> > folder. 
> > How do I tell bitbake to put the libs in the serializeclass folder and not 
> > the 
> > -dev?
> > >
> > > Thanks for the help.
> > >
> > > Rob
> > >  -------------- Original message ----------------------
> > > From: "Dirk Opfer" <[EMAIL PROTECTED]>
> > > > > Dirk,
> > > > > Thank you for finding that! I was looking for a missing ' or ". Never
> > > > > thought to look for a missing }.
> > > > >
> > > > > Next question. I need to patch a file that is not in the main 
> > > > > directory.
> > > > >
> > > > > I need to add a line to a file (CommonIncludes.h) in the PlutoUtils 
> > > > > dir.
> > > > >
> > > > >
> > > > >
> > > > > I tried it in the dir above orbiter-11205.1.1-r0 and got the same 
> > > > > error.
> > > > >
> > > > > When I tried it in the Orbiter dir I get this:
> > > > > [EMAIL PROTECTED]:~/oe/build/tmp/work/orbiter-11205.1.1-r0/Orbiter> 
> > > > > quilt
> > > > > new commonincludes_h.patch
> > > > > Patch patches/commonincludes_h.patch is now on top
> > > > > [EMAIL PROTECTED]:~/oe/build/tmp/work/orbiter-11205.1.1-r0/Orbiter> 
> > > > > quilt
> > > > > add ../PlutoUtils/CommonIncludes.h
> > > > > File ../PlutoUtils/CommonIncludes.h added to patch
> > > > > patches/commonincludes_h.patch
> > > > > [EMAIL PROTECTED]:~/oe/build/tmp/work/orbiter-11205.1.1-r0/Orbiter> 
> > > > > quilt
> > > > > edit ../PlutoUtils/CommonIncludes.h
> > > > > File ../PlutoUtils/CommonIncludes.h is already in patch
> > > > > patches/commonincludes_h.patch
> > > > > [EMAIL PROTECTED]:~/oe/build/tmp/work/orbiter-11205.1.1-r0/Orbiter> 
> > > > > quilt
> > > > > refresh
> > > > > Nothing in patch patches/commonincludes_h.patch
> > > > >
> > > > > Any ideas on how to fix this?
> > > > >
> > > > This is the correct way. You have to invoke quilt in the {S} dir.
> > > > Can you repeat this with a clean dir? bitbake name -c clean
> > > >
> > > > Dirk
> > > >
> > > > _______________________________________________
> > > > Oe mailing list
> > > > [email protected]
> > > > https://www.handhelds.org/mailman/listinfo/oe
> > >
> > >
> > > _______________________________________________
> > > Oe mailing list
> > > [email protected]
> > > https://www.handhelds.org/mailman/listinfo/oe
> > >
> > 
> > 
> > -- 
> > Justin Patrin
> 
> 


_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe

Reply via email to