diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2013-01-18 09:21:48 +0200 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2013-01-18 09:21:48 +0200 |
commit | e92dff42690c17d71722d33b7b63e648492282fe (patch) | |
tree | 94cd77e936a8be621c579c2ab275dbb11817f737 /scripts | |
parent | 29042caf1a97524d0d96db1c9438c89f9bd2ce60 (diff) |
Always pass --prepend-path option. It doesn't matter if the path exists.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/package_kernel | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/package_kernel b/scripts/package_kernel index cbabb62..bddc467 100755 --- a/scripts/package_kernel +++ b/scripts/package_kernel @@ -1,4 +1,5 @@ #!/bin/bash + set -x set -e shopt -s extglob @@ -7,7 +8,6 @@ shopt -s extglob # export CIROOTDIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )" export PATH="$CIROOTDIR/scripts:$CIROOTDIR/configs:$PATH" -export debuild_prepend_path="" # exit with error message and bad exit status # @@ -386,7 +386,6 @@ __END__ install_custom_toolchain() { - export debuild_prepend_path="--prepend-path $HOME/tc/bin" test -d ~/tc/bin && return 0 mkdir -p ~/tc tar --strip-components=1 -C ~/tc -xf gcc-linaro-aarch64*.tar.* @@ -406,7 +405,7 @@ test_build_source_pkg() do sed -i -e 's/do_tools.*=.*/do_tools = false/' $mk done - time debuild $debuild_prepend_path --no-lintian -us -uc -b -a$DEBARCH -j`getconf _NPROCESSORS_ONLN` + time debuild --prepend-path=$HOME/tc/bin --no-lintian -us -uc -b -a$DEBARCH -j`getconf _NPROCESSORS_ONLN` cd .. ln *.deb *.changes ../../out cd .. |