diff options
author | Jakub Czapiga <jacz@semihalf.com> | 2021-11-23 09:21:30 +0000 |
---|---|---|
committer | Patrick Georgi <patrick@coreboot.org> | 2021-12-01 13:32:06 +0000 |
commit | 39b2e7abdd8abf3553311dd547d7929c3411cbab (patch) | |
tree | 5f9e89917ed5ac311decf317ca9d6dfb6dc6e9f9 /payloads/libpayload/Makefile.inc | |
parent | 9f10950426e830752be1f49f1d50922ad6499420 (diff) |
libpayload: Add coreboot commonlib/bsd include path
Make BSD part of the coreboot commonlib accessible to libpayload.
Change-Id: I09f475d399ab785f3d3ffdb4b42950d2b397845e
Signed-off-by: Jakub Czapiga <jacz@semihalf.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59697
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <patrick@coreboot.org>
Diffstat (limited to 'payloads/libpayload/Makefile.inc')
-rw-r--r-- | payloads/libpayload/Makefile.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/payloads/libpayload/Makefile.inc b/payloads/libpayload/Makefile.inc index 8e0a3d6f77..2332517cef 100644 --- a/payloads/libpayload/Makefile.inc +++ b/payloads/libpayload/Makefile.inc @@ -58,6 +58,7 @@ subdirs-$(CONFIG_LP_LZ4) += liblz4 INCLUDES := -Iinclude -Iinclude/$(ARCHDIR-y) -I$(obj) INCLUDES += -include include/kconfig.h -include include/compiler.h +INCLUDES += -I$(coreboottop)/src/commonlib/bsd/include CFLAGS += $(INCLUDES) -Os -pipe -nostdinc -ggdb3 CFLAGS += -nostdlib -fno-builtin -ffreestanding -fomit-frame-pointer |