Merge lp:~milo/linaro-ci/aarch64-branch into lp:linaro-ci

Proposed by Milo Casagrande
Status: Merged
Merged at revision: 107
Proposed branch: lp:~milo/linaro-ci/aarch64-branch
Merge into: lp:linaro-ci
Diff against target: 20 lines (+6/-1)
1 file modified
build-scripts/aarch64/linux-aarch64_build (+6/-1)
To merge this branch: bzr merge lp:~milo/linaro-ci/aarch64-branch
Reviewer Review Type Date Requested Status
James Tunnicliffe (community) Approve
Deepti B. Kalakeri Pending
Paul Sokolovsky Pending
Review via email: mp+129686@code.launchpad.net

Description of the change

Branch adds a parameter check in order to be able to build aarch64 kernel from a different kernel git branch.
The parameter will be passed from Jenkins, build will be parametrized.

To post a comment you must log in.
lp:~milo/linaro-ci/aarch64-branch updated
108. By Milo Casagrande

Specify the entire name.

Revision history for this message
James Tunnicliffe (dooferlad) wrote :

I assume there aren't any tests for this script to be updated... oh well.

Fine other than a nagging feeling that there should be a test!

review: Approve
Revision history for this message
Milo Casagrande (milo) wrote :

On Tue, Oct 16, 2012 at 1:03 PM, James Tunnicliffe
<email address hidden> wrote:
> Review: Approve
>
> I assume there aren't any tests for this script to be updated... oh well.

Nope... Looking at the branch, there doesn't seem to be any tests for
all linaro-ci.

--
Milo Casagrande
Infrastructure Engineer
Linaro.org <www.linaro.org> │ Open source software for ARM SoCs

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'build-scripts/aarch64/linux-aarch64_build'
2--- build-scripts/aarch64/linux-aarch64_build 2012-10-08 15:52:50 +0000
3+++ build-scripts/aarch64/linux-aarch64_build 2012-10-15 16:06:21 +0000
4@@ -4,10 +4,15 @@
5 # Bootwrapper bootargs
6 BOOTARGS='"root=/dev/mmcblk0 earlyprintk consolelog=9 rw console=ttyAMA0"'
7 CROSS_COMPILE=aarch64-linux-gnu-
8-BRANCH=linaro-aarch64-3.6
9 FOUNDATION_IMAGE=linux-system-foundation.axf
10 FOUNDATION_DTS=vexpress-foundation-v8.dts
11
12+if [ "$BRANCH_NAME" ]; then
13+ BRANCH="$BRANCH_NAME"
14+else
15+ BRANCH=linaro-aarch64-3.6
16+fi
17+
18 echo "Preparing toolchain"
19 find -maxdepth 1 -type d -name 'gcc-linaro-aarch64-linux-gnu-*' | head -n1 | xargs --no-run-if-empty rm -rf
20 tarball=$(find -maxdepth 1 -name 'gcc-linaro-aarch64-linux-gnu-*.tar.*' | sort | head -n1)

Subscribers

People subscribed via source and target branches