kumquat-buildroot/boot
Thomas Petazzoni a9aa21ecfc boot/shim: fix build issues with gcc 9.x
Backport a set of upstream patches to fix:

MokManager.c: In function ‘write_back_mok_list’:
MokManager.c:1081:19: error: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
 1081 |   if (CompareGuid(&(list[i].Type), &X509_GUID) == 0)
      |                   ^~~~~~~~~~~~~~~
MokManager.c:1103:19: error: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
 1103 |   if (CompareGuid(&(list[i].Type), &X509_GUID) == 0) {
      |                   ^~~~~~~~~~~~~~~
MokManager.c: In function ‘delete_cert’:
MokManager.c:1144:19: error: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
 1144 |   if (CompareGuid(&(mok[i].Type), &X509_GUID) != 0)
      |                   ^~~~~~~~~~~~~~
MokManager.c: In function ‘delete_hash_in_list’:
MokManager.c:1195:20: error: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
 1195 |   if ((CompareGuid(&(mok[i].Type), &Type) != 0) ||
      |                    ^~~~~~~~~~~~~~
MokManager.c: In function ‘delete_keys’:
MokManager.c:1359:19: error: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
 1359 |   if (CompareGuid(&(del_key[i].Type), &X509_GUID) == 0) {
      |                   ^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [<builtin>: MokManager.o] Error 1

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 4239eff73b)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-04-06 13:09:25 +02:00
..
afboot-stm32 boot/afboot-stm32: fix build with gcc 10 2020-09-10 20:26:27 +02:00
arm-trusted-firmware boot/arm-trusted-firmware: Bump to version 2.4 2020-12-30 10:29:05 +01:00
at91bootstrap packages: use new $($PKG)_DL_DIR) variable 2018-04-02 15:53:53 +02:00
at91bootstrap3 boot/at91bootstrap3: fix checksum of license 2021-03-17 20:00:57 +01:00
at91dataflashboot boot/*/Config.in: fix attributes order 2018-04-01 08:06:37 +02:00
barebox boot/barebox, package/linux-headers: carry site-method archive format version when overriding _SOURCE 2021-01-18 22:39:14 +01:00
binaries-marvell binaries-marvell: bump version and switch to common firmware 2019-09-21 18:31:26 +02:00
boot-wrapper-aarch64 boot/boot-wrapper-aarch64: bump version 2021-01-02 18:42:57 +01:00
grub2 boot/grub2: ignore the last 3 remaining CVEs 2021-04-06 13:08:04 +02:00
gummiboot boot/gummiboot: fix linking for non-host compatible targets 2019-03-26 18:53:47 +01:00
lpc32xxcdl boot/lpc32xxcdl: switch upstream location 2020-12-29 18:11:49 +01:00
mv-ddr-marvell boot/mv-ddr-marvell: Bump to HEAD as of 20201207 2020-12-30 10:29:05 +01:00
mxs-bootlets boot/*/Config.in: fix attributes order 2018-04-01 08:06:37 +02:00
opensbi boot/opensbi: bump to version 0.8 2020-06-24 21:29:18 +02:00
optee-os boot/optee-os: bump to version 3.11.0 2020-10-31 22:58:17 +01:00
s500-bootloader
shim boot/shim: fix build issues with gcc 9.x 2021-04-06 13:09:25 +02:00
syslinux boot/syslinux: fix gcc-10.x compile 2021-03-26 23:38:12 +01:00
uboot boot/uboot: fix kconfig with per-package directories and host-make 2021-03-20 17:50:01 +01:00
vexpress-firmware support/download: change format of archives generated from git 2021-01-10 22:06:58 +01:00
common.mk
Config.in boot/riscv-pk: Remove obselete bootloader 2019-10-11 22:52:19 +02:00