Changeset 581a54a in mainline
- Timestamp:
- 2021-12-20T20:44:44Z (3 years ago)
- Branches:
- master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dbc1398
- Parents:
- c0436cb
- git-author:
- Jiri Svoboda <jiri@…> (2021-12-20 20:30:41)
- git-committer:
- Jiri Svoboda <jiri@…> (2021-12-20 20:44:44)
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
meson/arch/amd64/meson.build
rc0436cb r581a54a 1 1 # 2 # Copyright (c) 2021 Jiri Svoboda 2 3 # Copyright (c) 2019 Jiří Zárevúcky 3 4 # All rights reserved. … … 49 50 arch_uspace_link_args = [ '-Wl,-z,max-page-size=0x1000', '-nostdlib', '-lgcc' ] 50 51 51 52 # Binaries to be included in a barebone build 52 53 rd_essential += [ 53 54 'app/edit', … … 56 57 57 58 'srv/audio/hound', 59 ] 58 60 61 # Drivers to be included in a barebone build 62 rd_essential_drv += [ 59 63 'drv/intctl/apic', 60 64 'drv/intctl/i8259', … … 68 72 'drv/hid/xtkbd', 69 73 ] 74 75 # Drivers to be included in a regular build 76 rd_drv += [ 77 'drv/audio/hdaudio', 78 'drv/audio/sb16', 79 'drv/block/ahci', 80 'drv/block/ata_bd', 81 'drv/block/usbmast', 82 'drv/block/virtio-blk', 83 'drv/bus/isa', 84 'drv/bus/pci/pciintel', 85 'drv/bus/usb/ehci', 86 'drv/bus/usb/ohci', 87 'drv/bus/usb/uhci', 88 'drv/bus/usb/usbdiag', 89 'drv/bus/usb/usbflbk', 90 'drv/bus/usb/usbhub', 91 'drv/bus/usb/usbmid', 92 'drv/bus/usb/vhc', 93 'drv/bus/usb/xhci', 94 'drv/char/i8042', 95 'drv/char/ns8250', 96 'drv/char/pc-lpt', 97 'drv/hid/ps2mouse', 98 'drv/hid/xtkbd', 99 'drv/hid/usbhid', 100 'drv/intctl/apic', 101 'drv/intctl/i8259', 102 'drv/nic/ar9271', 103 'drv/nic/e1k', 104 'drv/nic/ne2k', 105 'drv/nic/rtl8139', 106 'drv/nic/rtl8169', 107 'drv/nic/virtio-net', 108 'drv/platform/pc', 109 'drv/time/cmos-rtc', 110 ] -
meson/arch/arm32/meson.build
rc0436cb r581a54a 1 1 # 2 # Copyright (c) 2021 Jiri Svoboda 2 3 # Copyright (c) 2019 Jiří Zárevúcky 3 4 # All rights reserved. … … 55 56 56 57 57 rd_essential += [58 rd_essential_drv += [ 58 59 'drv/bus/usb/ehci', 59 60 'drv/bus/usb/ohci', … … 73 74 74 75 elif MACHINE == 'beagleboardxm' or MACHINE == 'beaglebone' 75 rd_essential += [76 rd_essential_drv += [ 76 77 'drv/platform/amdm37x', 77 78 'drv/fb/amdm37x_dispc', … … 79 80 80 81 elif MACHINE == 'integratorcp' 81 rd_essential += [82 rd_essential_drv += [ 82 83 'drv/char/pl050', 83 84 'drv/hid/atkbd', … … 87 88 ] 88 89 endif 90 91 rd_drv += rd_essential_drv -
meson/arch/arm64/meson.build
rc0436cb r581a54a 1 1 # 2 # Copyright (c) 2021 Jiri Svoboda 2 3 # Copyright (c) 2015 Petr Pavlu 3 4 # All rights reserved. … … 46 47 47 48 if MACHINE == 'virt' 48 rd_essential += [49 rd_essential_drv += [ 49 50 'drv/char/pl011', 50 51 'drv/intctl/gicv2', … … 54 55 55 56 if MACHINE == 'hikey960' 56 rd_essential += [57 rd_essential_drv += [ 57 58 'drv/char/pl011', 58 59 'drv/intctl/gicv2', … … 60 61 ] 61 62 endif 63 64 rd_drv += rd_essential_drv -
meson/arch/ia32/meson.build
rc0436cb r581a54a 1 1 # 2 # Copyright (c) 2021 Jiri Svoboda 2 3 # Copyright (c) 2019 Jiří Zárevúcky 3 4 # All rights reserved. … … 56 57 arch_uspace_link_args = [ '-nostdlib', '-lgcc' ] 57 58 58 59 # Binaries to be included in a barebone build 59 60 rd_essential += [ 60 61 'app/edit', … … 63 64 64 65 'srv/audio/hound', 66 ] 65 67 68 # Drivers to be included in a barebone build 69 rd_essential_drv += [ 66 70 'drv/intctl/apic', 67 71 'drv/intctl/i8259', … … 75 79 'drv/hid/xtkbd', 76 80 ] 81 82 # Drivers to be included in a regular build 83 rd_drv += [ 84 'drv/audio/hdaudio', 85 'drv/audio/sb16', 86 'drv/block/ahci', 87 'drv/block/ata_bd', 88 'drv/block/usbmast', 89 'drv/block/virtio-blk', 90 'drv/bus/isa', 91 'drv/bus/pci/pciintel', 92 'drv/bus/usb/ehci', 93 'drv/bus/usb/ohci', 94 'drv/bus/usb/uhci', 95 'drv/bus/usb/usbdiag', 96 'drv/bus/usb/usbflbk', 97 'drv/bus/usb/usbhub', 98 'drv/bus/usb/usbmid', 99 'drv/bus/usb/vhc', 100 'drv/bus/usb/xhci', 101 'drv/char/i8042', 102 'drv/char/ns8250', 103 'drv/char/pc-lpt', 104 'drv/hid/ps2mouse', 105 'drv/hid/xtkbd', 106 'drv/hid/usbhid', 107 'drv/intctl/apic', 108 'drv/intctl/i8259', 109 'drv/nic/ar9271', 110 'drv/nic/e1k', 111 'drv/nic/ne2k', 112 'drv/nic/rtl8139', 113 'drv/nic/rtl8169', 114 'drv/nic/virtio-net', 115 'drv/platform/pc', 116 'drv/time/cmos-rtc', 117 ] -
meson/arch/ia64/meson.build
rc0436cb r581a54a 1 1 # 2 # Copyright (c) 2021 Jiri Svoboda 2 3 # Copyright (c) 2019 Jiří Zárevúcky 3 4 # All rights reserved. … … 41 42 42 43 if MACHINE == 'i460GX' 43 rd_essential += [44 rd_essential_drv += [ 44 45 'drv/platform/pc', 45 46 'drv/bus/pci/pciintel', … … 50 51 51 52 elif MACHINE == 'ski' 52 rd_essential += [53 rd_essential_drv += [ 53 54 'drv/char/ski-con', 54 55 'drv/platform/ski', … … 56 57 57 58 endif 59 60 rd_drv += rd_essential_drv -
meson/arch/mips32/meson.build
rc0436cb r581a54a 1 1 # 2 # Copyright (c) 2021 Jiri Svoboda 2 3 # Copyright (c) 2019 Jiří Zárevúcky 3 4 # All rights reserved. … … 66 67 67 68 if MACHINE == 'bmalta' or MACHINE == 'lmalta' 68 rd_essential += [69 rd_essential_drv += [ 69 70 'drv/platform/malta', 70 71 'drv/intctl/i8259', … … 79 80 80 81 elif MACHINE == 'msim' 81 rd_essential += [82 rd_essential_drv += [ 82 83 'drv/platform/msim', 83 84 'drv/block/ddisk', … … 86 87 87 88 endif 89 90 rd_drv += rd_essential_drv -
meson/arch/ppc32/meson.build
rc0436cb r581a54a 1 1 # 2 # Copyright (c) 2021 Jiri Svoboda 2 3 # Copyright (c) 2019 Jiří Zárevúcky 3 4 # All rights reserved. … … 39 40 40 41 41 rd_essential += [42 rd_essential_drv += [ 42 43 'drv/platform/mac', 43 44 'drv/bus/adb/cuda_adb', … … 54 55 'drv/hid/usbhid', 55 56 ] 57 58 rd_drv += rd_essential_drv -
meson/arch/riscv64/meson.build
rc0436cb r581a54a 1 1 # 2 # Copyright (c) 2021 Jiri Svoboda 2 3 # Copyright (c) 2019 Jiří Zárevúcky 3 4 # All rights reserved. … … 36 37 rd_essential += [ 37 38 ] 39 40 rd_drv += rd_essential_drv -
meson/arch/sparc64/meson.build
rc0436cb r581a54a 1 1 # 2 # Copyright (c) 2021 Jiri Svoboda 2 3 # Copyright (c) 2019 Jiří Zárevúcky 3 4 # All rights reserved. … … 77 78 78 79 if PROCESSOR == 'sun4v' 79 rd_essential += [80 rd_essential_drv += [ 80 81 'drv/platform/sun4v', 81 82 'drv/char/sun4v-con', 82 83 ] 83 84 else 84 rd_essential += [85 rd_essential_drv += [ 85 86 'drv/platform/sun4u', 86 87 'drv/bus/pci/pciintel', … … 90 91 ] 91 92 endif 93 94 rd_drv += rd_essential_drv -
meson/part/initrd_manifest/meson.build
rc0436cb r581a54a 52 52 'srv/hid/output', 53 53 'srv/klog', 54 ] 54 55 56 rd_essential_drv = [ 55 57 'drv/root/root', 56 58 'drv/root/virt', 57 59 'drv/fb/kfb', 58 60 ] 61 62 rd_drv = rd_essential_drv 59 63 60 64 if CONFIG_FB -
uspace/meson.build
rc0436cb r581a54a 58 58 endforeach 59 59 60 if CONFIG_BAREBONE 61 drv_list = rd_essential_drv 62 else 63 drv_list = rd_drv 64 endif 65 60 66 foreach drv : drvs 61 67 _basename = run_command(basename, drv, check: true).stdout().strip() … … 68 74 69 75 # Install driver metadata. 70 if not CONFIG_BAREBONE or rd_essential.contains('drv' / drv)76 if drv_list.contains('drv' / drv) 71 77 _src = meson.current_source_dir() / 'drv' / drv / _basename + '.ma' 72 78 _dstdir = 'drv' / _basename … … 93 99 installdir = appdirs.get('installdir') 94 100 95 install = not CONFIG_BAREBONE or rd_essential.contains(dir) 101 is_drv = (dir.split('/')[0] == 'drv') 102 103 if is_drv 104 # Drivers are installed based on rd_[essential_]drv list 105 install = drv_list.contains(dir) 106 else 107 # 108 # Servers and applications are installed all or 109 # based on rd_essential in case of barebone build 110 # 111 install = not CONFIG_BAREBONE or rd_essential.contains(dir) 112 endif 96 113 97 114 if install … … 129 146 # Binaries in the 'drv' subdirectory link libdrv by default. 130 147 131 is_drv = (dir.split('/')[0] == 'drv')132 148 133 149 if is_drv
Note:
See TracChangeset
for help on using the changeset viewer.