On Fri, Oct 25, 2013 at 3:46 AM, Hans Beckérus <[email protected]> wrote: > Hi. I have a package that tries to point to a staged/installed source > file (shared) in the list of files to be compiled. > But how should the Makefile.am properly pick-up the current staging > dir for my target? > Currently it is simply using /usr/share/foo/foo.c, but obviously that > will not work when cross-compiling or using native staging dirs. > Any suggestion to in what way a Makefile.am should be written to > handle such a case? > I tried using $(DESTDIR) but that does not seem to be populated in this > context.
hmm, is this a source from a different package ? I guess for Makefile.am you could use STAGING_DATADIR OE variable if there is some ac_cv_* variable that you can use to bridge this environments then it will make it portable beyond openembedded. > > Thanks. > Hans > _______________________________________________ > yocto mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/yocto _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
