Hi Richard, Am 06.02.19 um 11:24 schrieb Richard Hughes: >>> - standalone build against libpayload >> I didn't really "get" libpayload -- can somebody describe what it is? Thanks. > > I still don't "get" libpayload. Is the idea a shared libflashrom would > be linked against a static libpayload? How would that work for > something like fwupd? Or is libpayload used when not building the > shared library and only for a minimal flashrom binary? >
a payload in this context is a program in flash that runs after coreboot. libpayload[1] is a collection of library functions (e.g. basic libc, limited libpci, coreboot related things) and device drivers, to aid the coreboot-payload development. If you built libflashrom for the libpayload target, nothing is linked. libpayload's headers and a gcc wrapper script are used, that's all. There shouldn't be a libpayload shared library target, only a static one. Nico [1] https://review.coreboot.org/cgit/coreboot.git/tree/payloads/libpayload/ _______________________________________________ flashrom mailing list -- [email protected] To unsubscribe send an email to [email protected]
