Changes in uspace/meson.build [c21d4d6:4d58bac] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/meson.build
rc21d4d6 r4d58bac 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 … … 87 93 language = 'c' 88 94 installed_data = [] 95 platform_specific = false 89 96 90 97 subdir(appdirs.get('subdir')) … … 93 100 installdir = appdirs.get('installdir') 94 101 95 install = not CONFIG_BAREBONE or rd_essential.contains(dir) 102 is_drv = (dir.split('/')[0] == 'drv') 103 104 if is_drv 105 # Drivers are installed based on rd_[essential_]drv list 106 install = drv_list.contains(dir) 107 else 108 # 109 # Servers and applications are installed all (unless 110 # platform-specific) or based on rd_essential in case 111 # of barebone build or platform-specific 112 # 113 install = (not CONFIG_BAREBONE and not platform_specific) \ 114 or rd_essential.contains(dir) 115 endif 96 116 97 117 if install … … 129 149 # Binaries in the 'drv' subdirectory link libdrv by default. 130 150 131 is_drv = (dir.split('/')[0] == 'drv')132 151 133 152 if is_drv … … 201 220 cpp_args: arch_uspace_c_args + tst.get('c_args'), 202 221 link_args: arch_uspace_c_args + arch_uspace_link_args + _ldargs, 203 implicit_include_directories: false,222 implicit_include_directories: true, 204 223 build_by_default: true, 205 224 )
Note:
See TracChangeset
for help on using the changeset viewer.