aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2013-01-18 09:43:45 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2013-01-18 09:43:45 +0200
commit4242cbbd38ae392ac6bea094c3621ad8aca7db58 (patch)
treee109b4f90abdf0ebc18201b2a1c2d2fbeccc6521
parent0e8ca31341fe3e9e24cc850be431a4f1c7f0df98 (diff)
Add a comment to explain why we pass --set-envvar in addition to --prepend-path option.
-rwxr-xr-xscripts/package_kernel2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/package_kernel b/scripts/package_kernel
index b847c10..18ba1c7 100755
--- a/scripts/package_kernel
+++ b/scripts/package_kernel
@@ -407,6 +407,8 @@ test_build_source_pkg()
do
sed -i -e 's/do_tools.*=.*/do_tools = false/' $mk
done
+ # pass --set-envvar and --prepend-path to set the toolchain directory path
+ # for some reason, --prepend-path isn't always enough
time debuild --set-envvar=PATH="$TCBINDIR:$DEFAULT_PATH" --prepend-path=$TCBINDIR --no-lintian -us -uc -b -a$DEBARCH -j`getconf _NPROCESSORS_ONLN`
cd ..
ln *.deb *.changes ../../out