Mats, Installing myfile.h during do_install() certainly works for you right now.
But it won't if you plan to use packaged-staging in the future. Hence my advice to do this rather during do_stage() With kind regards, Fabrice > -----Ursprüngliche Nachricht----- > Von: [email protected] > [mailto:[email protected]] Im > Auftrag von Mats Kärrman > Gesendet: Mittwoch, 20. Juli 2011 15:14 > An: [email protected] > Betreff: Re: [oe] Added header file to linux kernel - how to export > > @ Fabrice & Henning: > > Thank you both for your support! I ended up with: > > ## Export patched in header files for access by other recipes > do_install_append_mymachine() { > cp ${S}/arch/powerpc/include/asm/myfile.h > ${STAGING_DIR_TARGET}${includedir}/asm/ > } > > Works fine but I'm a bit confused about the number of > "STAGING_" definitions in the environment. It's not always > easy to pick the right one, e.g. STAGING_DIR_TARGET and > STAGING_DIR_HOST both points to the same location... > > Best Regards, > Mats > > ________________________________________ > From: [email protected] > [[email protected]] on behalf > of Henning Heinold [[email protected]] > Sent: Wednesday, July 20, 2011 11:05 AM > To: [email protected] > Subject: Re: [oe] Added header file to linux kernel - how to export > > On Tue, Jul 19, 2011 at 08:14:14PM +0200, Aeschbacher, Fabrice wrote: > > Hi, > > > > Your could put something like this: > > > > do_stage_append() { > > cp ${S}/my_ioctl.h ${STAGING_KERNEL_DIR}/include/linux > > } > > > > in your recipes/linux<xxx>.bb > > > > With kind regards, > > Fabrice > > Hi, > > do_stage shouldn't be used anymore. Do it via do_install method. > > > Bye Henning > > _______________________________________________ > Openembedded-devel mailing list > [email protected] > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel > > _______________________________________________ > Openembedded-devel mailing list > [email protected] > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel > _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
