Changes in uspace/meson.build [4d58bac:c21d4d6] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/meson.build

    r4d58bac rc21d4d6  
    5858endforeach
    5959
    60 if CONFIG_BAREBONE
    61         drv_list = rd_essential_drv
    62 else
    63         drv_list = rd_drv
    64 endif
    65 
    6660foreach drv : drvs
    6761        _basename = run_command(basename, drv, check: true).stdout().strip()
     
    7468
    7569        # Install driver metadata.
    76         if drv_list.contains('drv' / drv)
     70        if not CONFIG_BAREBONE or rd_essential.contains('drv' / drv)
    7771                _src = meson.current_source_dir() / 'drv' / drv / _basename + '.ma'
    7872                _dstdir = 'drv' / _basename
     
    9387        language = 'c'
    9488        installed_data = []
    95         platform_specific = false
    9689
    9790        subdir(appdirs.get('subdir'))
     
    10093        installdir = appdirs.get('installdir')
    10194
    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)
    11696
    11797        if install
     
    149129        # Binaries in the 'drv' subdirectory link libdrv by default.
    150130
     131        is_drv = (dir.split('/')[0] == 'drv')
    151132
    152133        if is_drv
     
    220201                cpp_args: arch_uspace_c_args + tst.get('c_args'),
    221202                link_args: arch_uspace_c_args + arch_uspace_link_args + _ldargs,
    222                 implicit_include_directories: true,
     203                implicit_include_directories: false,
    223204                build_by_default: true,
    224205        )
Note: See TracChangeset for help on using the changeset viewer.