crosssdk: Construct target_exec_prefix from prefix_nativesdk
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 20 Aug 2013 13:04:49 +0000 (13:04 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 23 Aug 2013 15:20:11 +0000 (16:20 +0100)
${exec_prefix_nativesdk} doesn't exist so use prefix_nativesdk instead.
This resolves issues for code which attepts to use target_exec_prefix.

(From OE-Core rev: cd1ac8257ed2701cbe3802870183e8e1cd3b0418)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/crosssdk.bbclass

index 32b14d3..810f61d 100644 (file)
@@ -23,7 +23,7 @@ target_libdir = "${SDKPATHNATIVE}${libdir_nativesdk}"
 target_includedir = "${SDKPATHNATIVE}${includedir_nativesdk}"
 target_base_libdir = "${SDKPATHNATIVE}${base_libdir_nativesdk}"
 target_prefix = "${SDKPATHNATIVE}${prefix_nativesdk}"
-target_exec_prefix = "${SDKPATHNATIVE}${exec_prefix_nativesdk}"
+target_exec_prefix = "${SDKPATHNATIVE}${prefix_nativesdk}"
 baselib = "lib"
 
 do_populate_sysroot[stamp-extra-info] = ""