[yocto] FILES autofilling

Joshua Watt jpewhacker at gmail.com
Thu May 10 13:44:11 PDT 2018


On Thu, 2018-05-10 at 22:34 +0200, Mauro Ziliani wrote:
> Hi all.
> 
> My name's Mauro.
> 
> I developed an application with CMake outside Yocto Krogoth.
> 
> In CMakeLists.txt I have a lot of install(...) commands.
> 
> I produce the final deb package with cpack -G DEB command and al
> works fine.
> 
> Now I'd like to import my app into Krogoth.
> 
> I edited correctly the recipe, but the do_package task fails because
> I 
> have not filled the FILES variable correctly.
> 
> I have 656 files to ship with the application.
> 
> The application must be installed in its own folder /home/app
> 
> 
> Any idea how can I list all files to ship inside FILES variable?

It works recursively on folders:

FILES_${PN} += "/home/app/"

> 
> 
> Best regards,
> 
>     MZ
> 


More information about the yocto mailing list