Hi,

 I need some help regarding this since I cannot find out how to achieve this.  
I have a git repo with a lot of code splitted in module, such as:

        /.git
        /module_a
        /module_b

 Etc...

  I want to compile those modules using a bitbake recipe within yocto so I 
created the following tree structure:

        /.git
        /module_a
        /module_b
        /poky
                /meta-modules
                        /recipes-<category>
                                /module_a
                                        module_a.bb
                        /recipes-<category>
                                /module_b
                                        module_b.bb

  So far so good, but now I am having issue with unpack/compile step, my 
modules are make-based (not autotools and not CMake).  So I used EXTRA_OEMAKE 
to get them to use the proper target toolchain.  Problem lies with the SRC_URI, 
my files from module_a gets copied into $WORKDIR and not into $S, as such the 
compile step failed.  I understand that SRC_URI is not really the proper usage 
in such situation, appears to be meant to retrieve external packages and some 
files here and there, mostly patches.  Even thought all my modules are within a 
git repo, I do not want to extract the full repo for each modules either.

  I am now looking into writing my own unpack function to move my code under S 
manually, but I was wondering if yocto had something to support this model and 
I simply missed it or if writing a custom unpack is the appropriate solution 
(likely I'll have to create a class so that all my modules use the same unpack 
behavior).

Yannick Koehler
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to