mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 15:15:46 +00:00
meson: remove OS definitions from config_targetos
CONFIG_DARWIN, CONFIG_LINUX and CONFIG_BSD are used in some rules, but only CONFIG_LINUX has substantial use. Convert them all to if...endif. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
@ -2888,14 +2888,6 @@ minikconf = find_program('scripts/minikconf.py')
|
||||
config_targetos = {
|
||||
(targetos == 'windows' ? 'CONFIG_WIN32' : 'CONFIG_POSIX'): 'y'
|
||||
}
|
||||
if targetos == 'darwin'
|
||||
config_targetos += {'CONFIG_DARWIN': 'y'}
|
||||
elif targetos == 'linux'
|
||||
config_targetos += {'CONFIG_LINUX': 'y'}
|
||||
endif
|
||||
if targetos in bsd_oses
|
||||
config_targetos += {'CONFIG_BSD': 'y'}
|
||||
endif
|
||||
|
||||
config_all = {}
|
||||
config_all_devices = {}
|
||||
|
Reference in New Issue
Block a user