Changeset 581a54a in mainline for uspace/meson.build
- Timestamp:
- 2021-12-20T20:44:44Z (2 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.