coreboot-kgpe-d16/payloads/libpayload/include
Jacob Garber c98baa7a80 libpayload: Add compiler.h to compiler parameters
Headers in libpayload define various structs like so:

    struct struct_name { ... } __packed;

However, these header files do not include the compiler.h macro that
defines what __packed is, so they are actually defining a variable named
__packed and *not* declaring a packed struct. This leads to defining the
same variable multiple times, which was caught by GCC 10. Add compiler.h
to the compiler parameters so it is included in all files automatically.

Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Change-Id: Ia67182520dc94149e06fe9e03a14b3fc2ee29973
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47153
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
2020-11-08 11:37:04 +00:00
..
arm/arch treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
arm64/arch treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
arpa treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
pci libpayload/storage/ahci: Use pacc pointer to read device class 2020-10-20 20:35:47 +00:00
storage libpayload/storage/ahci: Use pci_dev struct in ahci_initialize() 2020-10-20 20:39:30 +00:00
sys treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
udc treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
usb libpayload: drivers/usb: add a USB pre-poll hook 2020-06-06 01:49:52 +00:00
x86/arch libpayload/x86: Add enumeration of Intel family 6 models 2020-11-02 06:24:10 +00:00
archive.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
assert.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
cbfs.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
cbfs_core.h libpayload: Add compiler.h to compiler parameters 2020-11-08 11:37:04 +00:00
cbfs_ram.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
cbgfx.h libpayload: cbgfx: Support buffered I/O 2020-08-28 21:40:58 +00:00
compiler.h libpayload: Replace include/compiler.h with commonlib/bsd's version 2020-07-28 16:16:21 +00:00
coreboot_tables.h lib/libpayload: Replace strapping_ids with new board configuration entry 2020-10-30 15:25:28 +00:00
ctype.h payloads: Drop unneeded empty lines 2020-09-21 16:20:57 +00:00
die.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
endian.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
errno.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
exception.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
fmap_serialized.h
fpmath.h libpayload: Add simple 32.32 fixed-point math API 2020-07-09 00:32:11 +00:00
gdb.h
getopt.h
inttypes.h
ipchksum.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
kconfig.h
keycodes.h
libpayload.h libpayload: Add compiler.h to compiler parameters 2020-11-08 11:37:04 +00:00
limits.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
lz4.h
lzma.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
malloc.h
multiboot_tables.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
panel.h
pci.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
queue.h payloads: Drop unneeded empty lines 2020-09-21 16:20:57 +00:00
stdarg.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
stdbool.h libpayload: Add <stdbool.h> 2020-10-26 06:57:06 +00:00
stddef.h
stdint.h libpayload: Fix definitions of minimum integer values 2020-05-18 07:34:55 +00:00
stdio.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
stdlib.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
string.h payloads: Drop unneeded empty lines 2020-09-21 16:20:57 +00:00
strings.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
sysinfo.h lib/libpayload: Replace strapping_ids with new board configuration entry 2020-10-30 15:25:28 +00:00
term.h
time.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
unistd.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
video_console.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00