summaryrefslogtreecommitdiff
path: root/resources/scripts/build
diff options
context:
space:
mode:
authorAlper Nebi Yasak <alpernebiyasak@gmail.com>2022-08-25 18:33:23 +0300
committerAlper Nebi Yasak <alpernebiyasak@gmail.com>2022-08-27 17:35:55 +0300
commit8dd1a24504ac438e9a8a0826b531976d9bc72067 (patch)
tree170fb4cd7b9bec4519a4bbf8530735d2f84bb3f5 /resources/scripts/build
parentd8da9b51e2f8f77ee2f83d3956508ca24220a9f1 (diff)
download/u-boot: Prepare files per board instead of per revision
The U-Boot download script is designed to help with releasing u-boot-libre and it can only prepare a generic U-Boot v2021.07 tree. However, we will need to build board-specific versions of U-Boot to be able to use it as a coreboot payload effectively. As a first step toward that, make the download script prepare per-board copies of U-Boot v2021.07. Then, add a 'v2021.07' pseudo-board for the u-boot-libre release script to work on. The u-boot-libre deblob script hash ends up chaning due to copying my author attribution from the download script, update its hash. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Diffstat (limited to 'resources/scripts/build')
-rwxr-xr-xresources/scripts/build/release/u-boot-libre2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/scripts/build/release/u-boot-libre b/resources/scripts/build/release/u-boot-libre
index 3a6aaca6..39767bc5 100755
--- a/resources/scripts/build/release/u-boot-libre
+++ b/resources/scripts/build/release/u-boot-libre
@@ -102,7 +102,7 @@ release_deblobbed_uboot()
"${tarball}.xz"
mkdir -p "$(dirname ${tmpdir})"
- cp -R "u-boot/u-boot/" "${tmpdir}"
+ cp -R "u-boot/v${version}/" "${tmpdir}"
rm -rf ${tmpdir}/.git ${tmpdir}/.gitignore
make -C ${tmpdir} distclean