Changes in uspace/meson.build [4d58bac:c21d4d6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/meson.build
r4d58bac rc21d4d6 58 58 endforeach 59 59 60 if CONFIG_BAREBONE61 drv_list = rd_essential_drv62 else63 drv_list = rd_drv64 endif65 66 60 foreach drv : drvs 67 61 _basename = run_command(basename, drv, check: true).stdout().strip() … … 74 68 75 69 # Install driver metadata. 76 if drv_list.contains('drv' / drv)70 if not CONFIG_BAREBONE or rd_essential.contains('drv' / drv) 77 71 _src = meson.current_source_dir() / 'drv' / drv / _basename + '.ma' 78 72 _dstdir = 'drv' / _basename … … 93 87 language = 'c' 94 88 installed_data = [] 95 platform_specific = false96 89 97 90 subdir(appdirs.get('subdir')) … … 100 93 installdir = appdirs.get('installdir') 101 94 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 95 install = not CONFIG_BAREBONE or rd_essential.contains(dir) 116 96 117 97 if install … … 149 129 # Binaries in the 'drv' subdirectory link libdrv by default. 150 130 131 is_drv = (dir.split('/')[0] == 'drv') 151 132 152 133 if is_drv … … 220 201 cpp_args: arch_uspace_c_args + tst.get('c_args'), 221 202 link_args: arch_uspace_c_args + arch_uspace_link_args + _ldargs, 222 implicit_include_directories: true,203 implicit_include_directories: false, 223 204 build_by_default: true, 224 205 )
Note:
See TracChangeset
for help on using the changeset viewer.