On Wednesday, February 1, 2012 at 8:49 AM, Joshua Immanuel wrote:
Hello all,On Wed, 2012-02-01 at 12:07 +0530, Joshua Immanuel wrote:At present in my custom image recipe I've added the followinglinesSOME_VARIABLE = "Blah"do_bootimg[depends] += "base-files:do_install"But the contents of ${SOME_VARIABLE} is not available in the'base-files' recipe. Evenexport SOME_VARIABLE = "Blah"doesn't solve the problem.$ bitbake custom-image -c devshellIn the above devshell I can find the contents of ${SOME_VARIABLE}available but the content of it is empty in 'base-files' recipe.In other words, I need to define global variables in a package which canbe used across multiple packages. At present the only option I have isto export the variable in build/conf/local.conf. IMHO, this doesn't feellike a proper solution (as the variable is my layer specific). Moreover,I can't change the value of it in one package to be used in otherpackage(s).Is there any other way to do this? Please guide me.RegardsJoshua--Joshua ImmanuelHiPro IT Solutions Private Limited_______________________________________________yocto mailing list