coreboot/payloads/libpayload/tests
Julius Werner c00c14077d libpayload: Make GPL commonlib includes available to payloads and tests
CB:77968 made some non-BSD commonlib files part of libpayload when
CONFIG_LP_GPL is set. This patch exports those headers to the payload
(again only when CONFIG_LP_GPL is set) so that payloads can also call
the functions in them directly.

Also make those includes available to tests so that their functions can
be tested. There's no menuconfig for unit tests, so they are included
unconditionally, but this should be fine since the tests are standalone
and won't have to link with any proprietary third-party code.

Change-Id: Ifc3e52ee5c3e51520f7b7d44b483bfcb0e8380f8
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81287
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com>
2024-03-17 16:53:06 +00:00
..
data libpayload: initial test case + tiny "framework" 2013-03-22 00:35:32 +01:00
drivers payloads: Rename Makefiles from .inc to .mk 2024-01-24 10:15:10 +00:00
include libpayload: Implement new CBFS access API 2022-01-10 14:30:04 +00:00
libc payloads: Rename Makefiles from .inc to .mk 2024-01-24 10:15:10 +00:00
libcbfs Treewide: Fix incorrect SPDX license strings 2024-02-18 01:55:57 +00:00
mocks treewide: Move stdlib.h to commonlib 2024-03-15 10:09:43 +00:00
cbfs-x86-test.c libpayload: initial test case + tiny "framework" 2013-03-22 00:35:32 +01:00
libpayload-config.h libpayload: Change CONFIG_X86_SERIAL_CONSOLE to CONFIG_8250_SERIAL_CONSOLE 2014-08-28 01:40:48 +02:00
Makefile Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
Makefile.mk libpayload: Make GPL commonlib includes available to payloads and tests 2024-03-17 16:53:06 +00:00