aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/buildrom.py
Commit message (Collapse)AuthorAgeFilesLines
* scripts: Remove python23compat.pyKevin O'Connor2021-12-191-4/+2
| | | | | | | It's simpler to use b"" designations around binary strings than to use the as_bytes() function. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* python3 fixes for vgabios and csm builds.Kevin O'Connor2014-05-271-7/+11
| | | | | | | | Avoid using chr() as this produces unicode strings on python3. Make sure to only use ord() on slices as the python3 bytearray type returns an integer on a non-slice array access. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* build: Be careful with unicode and byte strings for python3 compatibility.Johannes Krampf2014-01-201-2/+4
| | | | Signed-off-by: Johannes Krampf <johannes.krampf@googlemail.com>
* build: Be explicit that we want integers when dividing for python3 compat.Johannes Krampf2014-01-201-2/+2
| | | | Signed-off-by: Johannes Krampf <johannes.krampf@googlemail.com>
* Rename tools/ directory to scripts/ directory.Kevin O'Connor2013-08-171-0/+50
It's common for other projects (eg, QEMU, Linux) to put build scripts into a "scripts/" directory. There's no reason for SeaBIOS to be different, so rename the "tools/" directory to "scripts/". Signed-off-by: Kevin O'Connor <kevin@koconnor.net>