[yocto] [YOCTO]: About adding documentation in final SDK image

Preeti P itspreetip89 at gmail.com
Thu Mar 19 09:07:31 PDT 2015


Hi all,

I am working on adding the documents in to my SDK image.
Basically, I want to have the man and info documentation for the tool-chain
item in my SDK image.

As per my understanding, the install package for every recipe gets split
into different packages and finally shipped in to the SDK image.

To add the documents in my SDK image, I tried to add the '-doc' support in
'PACKAGES' variable but still the documentation related files are not there
in the final image.

I even tried by adding below lines in to the do_install function in my
recipe but my final image does not have those files:

do_install {

                install -d ${D}${includedir}${doc}

                install -m 644 ${S}/doc/*.info ${D}${includedir}${doc}

}

Can anyone provide me inputs on how to add the documentation for packages
in to the final SDK image?

Thanks,
Preeti



More information about the yocto mailing list