18 Commits

Author SHA1 Message Date
Michael Forney 87f82da39b syslinux: Use C23 attribute syntax for packed struct 2026-04-03 03:49:44 -07:00
Michael Forney 726487f167 syslinux: Add patch fixing mboot with graphics
We don't actually build syslinux itself here, but add the patch
anyway to track it.
2026-04-03 03:49:44 -07:00
Michael Forney 2eddb78d1b Store dist files in config.distdir
This makes it easy to remove old distfiles with `git clean -f dist`.
2026-03-12 16:40:37 -07:00
Michael Forney f79225e4bb syslinux: Various portability fixes 2021-09-06 23:36:55 -07:00
Michael Forney fae924121b syslinux: Disable packed member address warning
The use of this feature is deliberate.
2020-06-05 03:11:11 -07:00
Michael Forney d4297a13c8 Use -isystem to include library headers
This way, warnings from headers that come from another package (in
particular linux-headers) won't show up when they get included.

To make sure we still track dependencies, use -MD instead of -MMD.
2020-06-05 03:01:44 -07:00
Michael Forney 3ff8532c91 Use -Wpedantic over -pedantic 2020-02-20 20:15:50 -08:00
Michael Forney aea11e0e4a Use our own linux-headers 2020-02-20 20:10:31 -08:00
Michael Forney 08cca5431f Move toolchain config into config.lua 2020-01-29 22:14:33 -08:00
Michael Forney 37adb2ae9c Start to document patch upstream status 2019-11-17 20:09:14 -08:00
Michael Forney f4720910b9 Update ninja requirement to 1.8.0 and don't bother with atomic outputs
Since ninja 1.8.0[0] and samurai 0.2[1], output mtime is always
recorded after a job succeeds, and outputs are considered dirty if
the recorded mtime is older than any input. This means that even
if a command partially writes its output then fails (for example,
if run with stdout redirected to a file), it will still get re-run
during the next build.

This means that outputs no longer have to be written atomically
(i.e. renamed into place) in order to ensure a correct build, and
we can drop the idiom `command >$out.tmp && mv $out.tmp $out`.

[0] https://github.com/ninja-build/ninja/commit/04d886b11041bb59d01df794cce7a1e8cad2250d
[1] https://github.com/michaelforney/samurai/commit/799bc5a4719b90a1026c129b55b92c0bccf97eeb
2019-11-17 15:24:25 -08:00
Michael Forney f45e57f9bd syslinux: Include sys/sysmacros.h when necessary 2019-08-06 20:16:35 -07:00
Michael Forney 4332740046 Rename rev to ver, and keep track of package versions as well 2019-03-19 00:14:12 -07:00
Michael Forney ba94a8513d Rewrite ninja generation scripts in Lua 2017-09-25 19:23:06 -07:00
Michael Forney 54423fc6ba syslinux: Install /bin/extlinux 2017-03-02 19:33:59 -08:00
Michael Forney 99afd653ee syslinux: Build bin2c with some warning flags
Also, fix two minor issues these found.
2017-03-02 19:33:34 -08:00
Michael Forney 6b9ee68d95 syslinux: Fix include path
Since I forgot to add a file directive for bin/extlinux, I accidentally
did not test the build after making this change.
2017-03-02 19:30:59 -08:00
Michael Forney 05a28a284a Add syslinux 6.03
For now just use the pre-compiled binaries, but build our own static
extlinux.
2017-03-02 19:21:41 -08:00