summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rwxr-xr-xscript/build/roms2
-rwxr-xr-xscript/update/release6
2 files changed, 7 insertions, 1 deletions
diff --git a/script/build/roms b/script/build/roms
index f19f7328..f4356764 100755
--- a/script/build/roms
+++ b/script/build/roms
@@ -384,10 +384,10 @@ moverom() {
rompath="${1}"
newrom="${2}"
+ [ "${vendorfiles}" = "n" ] && newrom="${newrom%.rom}_noblobs.rom"
printf "Creating target image: %s\n" "${newrom}"
[ -d "${newrom%/*}" ] || x_ mkdir -p "${newrom%/*}/"
- [ "${vendorfiles}" = "n" ] && newrom="${newrom%.rom}_noblobs.rom"
x_ modify_coreboot_rom
x_ cp "${rompath}" "${newrom}"
diff --git a/script/update/release b/script/update/release
index 3ee99c78..21fa8b61 100755
--- a/script/update/release
+++ b/script/update/release
@@ -129,6 +129,12 @@ fetch_trees()
mkrom_images()
{
+ # fake me.bin to make x201 roms build
+ mkdir -p "vendorfiles/cache/" || \
+ err "mkvdir: !mkdir -p \"vendorfiles/cache/\""
+ dd if=/dev/zero of="vendorfiles/cache/x201_factory.rom" \
+ bs=68k count=1 || err "mkvdir: can't make fake x201_factory.rom"
+
./build roms all || err "${_xm}: roms-all"
./build serprog rp2040 || err "${_xm}: rp2040"
./build serprog stm32 || err "${_xm}: stm32"