diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-12-17 20:54:17 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-05-05 14:45:00 +0100 |
commit | 1693ecdcd09e41de7062a01c507936d84db13a09 (patch) | |
tree | 7666e87e657f2ef5d3e80cbba73ba90872da03a9 /classes/cross.bbclass | |
parent | 0013009deeeef4460d7205555b15583da1b4cec7 (diff) |
cross.bbclass: Move target_ variable definitions from gcc recipes to main class. Cross recipes need these in general (from Poky)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'classes/cross.bbclass')
-rw-r--r-- | classes/cross.bbclass | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/classes/cross.bbclass b/classes/cross.bbclass index 9a3d39cb49..ad8b847213 100644 --- a/classes/cross.bbclass +++ b/classes/cross.bbclass @@ -32,6 +32,14 @@ LDFLAGS_build-darwin = "-L${STAGING_LIBDIR_NATIVE}" TOOLCHAIN_OPTIONS = "" +# Path mangling needed by the cross packaging +# Note that we use := here to ensure that libdir and includedir are +# target paths, not CROSS_DIR paths. +target_libdir := "${libdir}" +target_includedir := "${includedir}" +target_base_libdir := "${base_libdir}" +target_prefix := "${prefix}" + # Overrides for paths prefix = "${CROSS_DIR}" base_prefix = "${prefix}" |