summaryrefslogtreecommitdiff
path: root/config/coreboot/t440plibremrc_12mb
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-07-28 16:09:35 +0100
committerLeah Rowe <leah@libreboot.org>2024-07-28 16:09:35 +0100
commita78eaac88336922e38f33f51d7ee5d2262abdf10 (patch)
tree8d03af2911e3f4fe1748943e0bb8f938518c3c89 /config/coreboot/t440plibremrc_12mb
parent59894ed555ecccf0346a7942e208171a21412d9b (diff)
uefitool: Add patch working around musl libc issue
musl libc is very conservative in what it implements, preferring a very "pure" libc implementation. this means that it lacks many of the niceties found in others like the GNU C Library; the latter implements many BSD libc extensions, for example. ACCESSPERMS is a #define in BSD libc that does: S_IRWXU | S_IRWXG | S_IRWXO Essentially, it provides a bitwise OR providing chmod 0777, which can be used as shorthand in calls to functions such as mkdir() available in all libc implementations. In the case of uefitool, this define is indeed used on mkdir. Conditionally re-define ACCESSPERMS, if undefined, so that musl libc can be used when building uefitool. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/coreboot/t440plibremrc_12mb')
0 files changed, 0 insertions, 0 deletions