diff options
author | Todor Tomov <todor.tomov@linaro.org> | 2018-10-05 17:03:39 +0300 |
---|---|---|
committer | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2018-10-10 12:37:42 +0000 |
commit | d8338cfb2b7b8bb2ab1ea6feae6504e11ea0415b (patch) | |
tree | c9678d6b1e409d5aa1d99cf97b1772a1e301c3a3 /lt-qcom-linux | |
parent | 6ca451058189d1f3260d07fd1c2414a1305eb2bc (diff) |
lt-qcom-linux-aosp: Fetch android config fragments
The android kernel config fragment files are stored on a
separate googlesource repo. A script to fetch them is present
in the kernel source. Before doing the kernel config, run the
script to fetch the config fragment files.
Publish the config fragment files along with the resulting files
from the build to keep trace of the config used.
Change-Id: I6fac19ba6222a504478874469e1d96a3a0023eac
Signed-off-by: Todor Tomov <todor.tomov@linaro.org>
Diffstat (limited to 'lt-qcom-linux')
-rw-r--r-- | lt-qcom-linux/publishers.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lt-qcom-linux/publishers.sh b/lt-qcom-linux/publishers.sh index 7540eca4..84bf43d9 100644 --- a/lt-qcom-linux/publishers.sh +++ b/lt-qcom-linux/publishers.sh @@ -8,7 +8,11 @@ rm -rf out/ mkdir out cp ${WORKSPACE}/linux/vmlinux ${WORKSPACE}/linux/arch/${ARCH}/boot/Image.gz out cp ${WORKSPACE}/linux/.config out/kernel.config -cp ${WORKSPACE}/linux/arch/${ARCH}/configs/defconfig out +KERNEL_CONFIGS=KERNEL_CONFIGS_$ARCH +for f in ${!KERNEL_CONFIGS}; do + ff=$(find ${WORKSPACE}/linux/arch/${ARCH}/configs/ ${WORKSPACE}/linux/kernel/configs/ -name $f) + cp $ff out; +done for f in ${KERNEL_DTBS}; do cp ${WORKSPACE}/linux/arch/${ARCH}/boot/dts/$f out; done |