mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 14:33:18 +02:00
hwaccess_x86_io: clean header concept
Move all function implementations into the .c file TEST: `[g]make [WARNERROR=no]` on Linux, FreeBSD, NetBSD, OpenBSD, DragonflyBSD, OpenIndiana, Debian-GNU/Hurd Change-Id: I1400704e9ac5fed00c096796536108d5bfb875e3 Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/61276 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:

committed by
Nico Huber

parent
60c3b61d09
commit
0f51f62c62
18
meson.build
18
meson.build
@ -42,24 +42,6 @@ else
|
||||
add_project_arguments('-DIS_WINDOWS=0', language : 'c')
|
||||
endif
|
||||
|
||||
if host_machine.system() in ['linux', 'darwin', 'netbsd', 'openbsd']
|
||||
add_project_arguments('-DUSE_IOPL=1', language : 'c')
|
||||
else
|
||||
add_project_arguments('-DUSE_IOPL=0', language : 'c')
|
||||
endif
|
||||
|
||||
if host_machine.system() in ['freebsd', 'dragonfly']
|
||||
add_project_arguments('-DUSE_DEV_IO=1', language : 'c')
|
||||
else
|
||||
add_project_arguments('-DUSE_DEV_IO=0', language : 'c')
|
||||
endif
|
||||
|
||||
if host_machine.system() in ['gnu']
|
||||
add_project_arguments('-DUSE_IOPERM=1', language : 'c')
|
||||
else
|
||||
add_project_arguments('-DUSE_IOPERM=0', language : 'c')
|
||||
endif
|
||||
|
||||
# get defaults from configure
|
||||
config_atahpt = get_option('config_atahpt')
|
||||
config_atapromise = get_option('config_atapromise')
|
||||
|
Reference in New Issue
Block a user