diff options
-rw-r--r-- | hw/xfree86/common/meson.build | 4 | ||||
-rw-r--r-- | hw/xfree86/os-support/meson.build | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/hw/xfree86/common/meson.build b/hw/xfree86/common/meson.build index 8f68556d8..7dc19c6f9 100644 --- a/hw/xfree86/common/meson.build +++ b/hw/xfree86/common/meson.build @@ -71,6 +71,10 @@ endif if get_option('pciaccess') srcs_xorg_common += ['xf86pciBus.c', 'xf86VGAarbiter.c'] + + if host_machine.cpu() == 'sparc' or host_machine.cpu() == 'sparc64' + srcs_xorg_common += 'xf86sbusBus.c' + endif endif srcs_xorg_common += custom_target( diff --git a/hw/xfree86/os-support/meson.build b/hw/xfree86/os-support/meson.build index 1f490a668..b6069ee85 100644 --- a/hw/xfree86/os-support/meson.build +++ b/hw/xfree86/os-support/meson.build @@ -19,7 +19,7 @@ if get_option('pciaccess') if host_machine.system() != 'linux' srcs_xorg_os_support += 'bus/bsd_pci.c' endif - if host_machine.cpu() == 'sparc' + if host_machine.cpu() == 'sparc' or host_machine.cpu() == 'sparc64' srcs_xorg_os_support += 'bus/Sbus.c' install_data('bus/xf86Sbus.h', install_dir: xorgsdkdir) endif |