Commit Graph

11 Commits (f44fdaab3cc0b74d4cf8e08c4e4a6e95b91a84c3)

Author SHA1 Message Date
dgtlrift 3b77a70782
Merge branch 'ipxe:master' into QRcode 2021-08-30 12:18:12 -04:00
Michael Brown f309d7a7b7 [linux] Use host glibc system call wrappers
When building as a Linux userspace application, iPXE currently
implements its own system calls to the host kernel rather than relying
on the host's C library.  The output binary is statically linked and
has no external dependencies.

This matches the general philosophy of other platforms on which iPXE
runs, since there are no external libraries available on either BIOS
or UEFI bare metal.  However, it would be useful for the Linux
userspace application to be able to link against host libraries such
as libslirp.

Modify the build process to perform a two-stage link: first picking
out the requested objects in the usual way from blib.a but with
relocations left present, then linking again with a helper object to
create a standard hosted application.  The helper object provides the
standard main() entry point and wrappers for the Linux system calls
required by the iPXE Linux drivers and interface code.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2021-02-28 23:28:23 +00:00
Michael Brown d79f504c0c [ci] Disable redundant scheduled execution of Coverity Scan
The scheduled Coverity Scan run is triggered by an external mechanism
that synchronises the coverity_scan branch with the master branch.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2021-02-05 11:59:27 +00:00
Michael Brown 1259580dde [ci] Add GitHub action for Coverity Scan
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2021-02-04 16:41:55 +00:00
Michael Brown eeca29a1e0 [ci] Add GitHub action for build testing
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2021-02-04 16:41:55 +00:00
dgtlrift 54c757d529
Update ccpp.yml
Remove unneeded targets
2020-01-22 10:08:28 -05:00
Jim Hanley 09be174cd9 Remove diagnostic detail 2020-01-15 14:20:07 -05:00
dgtlrift f700041cff
Update actions to include submodule checkout 2020-01-14 15:26:37 -05:00
Jim Hanley 9b127eee31 Add way too much detail 2020-01-14 15:07:19 -05:00
Jim Hanley f73e062a16 Add diagnostics to build log 2020-01-14 15:06:48 -05:00
dgtlrift d0e78245dc
Create ccpp.yml
For GitHub build
2020-01-10 08:16:15 -05:00