diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/cross-canadian.bbclass | 8 | ||||
-rw-r--r-- | meta/classes/nativesdk.bbclass | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass index e5453848a..29ee99042 100644 --- a/meta/classes/cross-canadian.bbclass +++ b/meta/classes/cross-canadian.bbclass @@ -44,9 +44,9 @@ target_prefix := "${prefix}" target_exec_prefix := "${exec_prefix}" # Change to place files in SDKPATH -prefix = "${SDKPATH}" -exec_prefix = "${SDKPATH}" -base_prefix = "${SDKPATH}" +base_prefix = "${SDKPATHNATIVE}" +prefix = "${SDKPATHNATIVE}${prefix_nativesdk}" +exec_prefix = "${SDKPATHNATIVE}${prefix_nativesdk}" FILES_${PN} = "${prefix}" FILES_${PN}-dbg += "${prefix}/.debug \ @@ -56,5 +56,5 @@ FILES_${PN}-dbg += "${prefix}/.debug \ export PKG_CONFIG_DIR = "${STAGING_DIR_HOST}${layout_libdir}/pkgconfig" export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}" -# Cross-canadian packages need to pull in nativesdk so's, sorry for ugliness +# Cross-canadian packages need to pull in nativesdk dynamic libs SHLIBSDIR = "${STAGING_DIR}/${SDK_ARCH}-nativesdk-pokysdk-${BUILD_OS}/shlibs" diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass index 2c897c607..892bae5ec 100644 --- a/meta/classes/nativesdk.bbclass +++ b/meta/classes/nativesdk.bbclass @@ -37,9 +37,9 @@ CXXFLAGS = "${BUILDSDK_CFLAGS}" LDFLAGS = "${BUILDSDK_LDFLAGS}" # Change to place files in SDKPATH -prefix = "${SDKPATH}" -exec_prefix = "${SDKPATH}" -base_prefix = "${SDKPATH}" +base_prefix = "${SDKPATHNATIVE}" +prefix = "${SDKPATHNATIVE}${prefix_nativesdk}" +exec_prefix = "${SDKPATHNATIVE}${prefix_nativesdk}" FILES_${PN} += "${prefix}" FILES_${PN}-dbg += "${prefix}/.debug \ |