aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/populate_sdk.bbclass
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2012-06-18 16:42:45 -0500
committerSaul Wold <sgw@linux.intel.com>2012-07-03 00:05:29 -0700
commit779db325d407f0bade84572ef99fdad4d0c88011 (patch)
tree450eecf920f161152d9a319372f28986b90bf13b /meta/classes/populate_sdk.bbclass
parent337428316de3612a8e1efa70b3a4ba7cb6e058d2 (diff)
downloadopenembedded-core-779db325d407f0bade84572ef99fdad4d0c88011.tar.gz
Fix manual log file paths
When a recent change, the path to log files may be contained within an arbitrary directory. To generate the manual log files in the correct path we should be using the ${BB_LOGFILE}'s path instead of always assuming the logs go into ${WORKDIR}/temp. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta/classes/populate_sdk.bbclass')
-rw-r--r--meta/classes/populate_sdk.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk.bbclass b/meta/classes/populate_sdk.bbclass
index 5aa8e92b87..1131d686b9 100644
--- a/meta/classes/populate_sdk.bbclass
+++ b/meta/classes/populate_sdk.bbclass
@@ -70,7 +70,7 @@ fakeroot do_populate_sdk() {
populate_sdk_log_check() {
for target in $*
do
- lf_path="${WORKDIR}/temp/log.do_$target.${PID}"
+ lf_path="`dirname ${BB_LOGFILE}`/log.do_$target.${PID}"
echo "log_check: Using $lf_path as logfile"