summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/roms/withdepthcharge
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/helpers/build/roms/withdepthcharge')
-rwxr-xr-xresources/scripts/helpers/build/roms/withdepthcharge3
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/scripts/helpers/build/roms/withdepthcharge b/resources/scripts/helpers/build/roms/withdepthcharge
index 8ae80a7..03cda06 100755
--- a/resources/scripts/helpers/build/roms/withdepthcharge
+++ b/resources/scripts/helpers/build/roms/withdepthcharge
@@ -86,10 +86,11 @@ buildcoreboot() {
version="$(cat ../version)"
else
# git repo is being used
- version="$(git describe --tags HEAD)"
+ version="$(git describe --tags HEAD)" # note: in libreboot, coreboot/.git doesn't exist, this uses libreboot .git
fi
printf '%s\n' "${version}" > "lbversion"
printf 'libreboot-%s' "${version}" > "ro-frid"
+ printf 'libreboot-%s\n' "${version}" > ".coreboot-version" # needed for reproducible builds in coreboot
make KBUILD_DEFCONFIG="$(pwd)/../resources/libreboot/config/depthcharge/${board}/config" defconfig
make -j"$(nproc)"