[yocto] Problem with staging dir in Makefile.am
Hans Beckérus
hans.beckerus at gmail.com
Fri Oct 25 03:46:20 PDT 2013
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.
Thanks.
Hans
More information about the yocto
mailing list