summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rwxr-xr-xscript/build/roms9
-rwxr-xr-xscript/update/release2
2 files changed, 10 insertions, 1 deletions
diff --git a/script/build/roms b/script/build/roms
index a90e1daa..2510b1fd 100755
--- a/script/build/roms
+++ b/script/build/roms
@@ -20,7 +20,7 @@ cfgsdir="config/coreboot"
# target.cfg files have to specifically enable [a] payload(s)
pv="payload_grub payload_grub_withseabios payload_seabios payload_memtest t"
pv="${pv} payload_seabios_withgrub payload_seabios_grubonly payload_uboot memtest_bin"
-v="romdir cbrom initmode displaymode cbcfg targetdir tree keymaps"
+v="romdir cbrom initmode displaymode cbcfg targetdir tree keymaps release"
v="${v} grub_timeout ubdir board grub_scan_disk uboot_config"
eval "$(setvars "n" ${pv})"
eval "$(setvars "" ${v} boards _displaymode _payload _keyboard all targets)"
@@ -56,6 +56,13 @@ main()
grub_background="background1280x800.png"
board="${x}"
configure_target
+
+ # exclude certain targets from the release
+ if [ "$release" = "n" ] && [ "$lbmk_release" = "y" ]; then
+ printf "Skipping target: %s\n" "$x"
+ continue
+ fi
+
build_payloads
build_target_mainboard
[ -d "bin/${board}" ] || continue
diff --git a/script/update/release b/script/update/release
index 25ada9da..e8eff300 100755
--- a/script/update/release
+++ b/script/update/release
@@ -9,6 +9,8 @@ set -u -e
eval "$(setvars "" vdir relname src_dirname srcdir _xm target romdir mode)"
+export LBMK_RELEASE="y"
+
main()
{
vdir="release"