aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2014-01-16 14:10:22 +0530
committerPaul Sokolovsky <paul.sokolovsky@linaro.org>2014-01-21 00:32:03 +0200
commit7644cbed7901d33222eec659994786e7cb6c061f (patch)
tree7fa095a420c1b00f1e70383e920bd3de2ba47b7d
parentf3b0bcdbb7c68d3cfc095d5d350e96b416fe0f5f (diff)
Fix kernel script creation
Change-Id: Iccb1e8c01ef5bdc78d62076f615a30bf512e5957 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rwxr-xr-xbuild-scripts/create-user-kernel-script2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-scripts/create-user-kernel-script b/build-scripts/create-user-kernel-script
index 751bfbc..a22371f 100755
--- a/build-scripts/create-user-kernel-script
+++ b/build-scripts/create-user-kernel-script
@@ -65,7 +65,7 @@ fi
sync_commands()
{
-KERNELNAME=`python -c "import os.path; print os.path.relpath(os.path.realpath('target/product/$TARGET_PRODUCT/obj/kernel/source'), '../')"`
+KERNELNAME=`python -c "import os.path; print os.path.relpath(os.path.realpath('target/product/$TARGET_OUT_DIR/obj/kernel/source'), '../')"`
GITINFO=`PYTHONPATH=../.repo/repo ${BUILD_SCRIPT_ROOT}/repo_project_info.py -d ../ -p ${KERNELNAME}`
GITURL=`echo $GITINFO | cut -d\| -f1`
GITREV=`echo $GITINFO | cut -d\| -f2`