Attention is currently required from: Nico Huber, Edward O'Callaghan, Angel Pons.
Anastasia Klimchuk uploaded patch set #5 to this change.
tests: Guard sys/io.h the same as in hwaccess_x86_io.h
Inclusion of this header in hwaccess_x86_io.h is guarded by
`defined(__linux__) || defined(__GLIBC__)` , in addition to that
inclusion of hwaccess_x86_io.h into hwaccess.h is guarded by
IS_X86. Combining these two together, this patch adds the same
guards for unittest header file, so that test build don't break
on non-x86.
This is a follow up on commit 21e22ba8a7750f1cfe5cd3323e3137695ffef0a4
which introduced hwaccess_x86_io_unittest.h
BUG=b:181803212
TEST= 1) builds and ninja test on x86 (same as before)
2) echo "#include \"hwaccess_x86_io_unittest.h\"" > foo.c
arm-linux-gnueabi-gcc -E foo.c
Result: guarded code not included, hwaccess_x86_io_unittest.h is
empty for arm-linux-gnueabi
Change-Id: I3f2f0408be7c00f954b899031b52b2b97ef19ca3
Signed-off-by: Anastasia Klimchuk <aklm@chromium.org>
---
M tests/hwaccess_x86_io_unittest.h
1 file changed, 11 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/41/55741/5
To view, visit change 55741. To unsubscribe, or for help writing mail filters, visit settings.