Re: Best practice for building a large amount of source files
On 12/10/2015 1:16 PM, Michael Habibi
wrote:
Not necessarily best practice, but it is something that bitbake has supported. If you create a directory under myapplication_1.0 that is unique and not an override, you can specify the directory name as the SRC_URI and bitbake will pull the directory and its contents in. Something like meta-mylayer/recipes-management/myapplication/myapplication_1.0/mysources/<tons of source files> and SRC_URI file://mysources It should work. Something like the following: > find recipes/ recipes/ recipes/myapp recipes/myapp/files recipes/myapp/files/mysources recipes/myapp/files/mysources/Makefile recipes/myapp/myapp_1.0.bb > cat recipes/myapp/myapp_1.0.bb LICENSE="MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" SRC_URI = "file://mysources" S="${WORKDIR}/mysources"
-- Jeremy A. Puhlman jpuhlman@... |
|