Changeset 740e952 in mainline for uspace


Ignore:
Timestamp:
2019-08-17T12:49:43Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b2695b9
Parents:
71069a9
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-06-27 16:04:58)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-08-17 12:49:43)
Message:

more install tweaks

Location:
uspace
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/meson.build

    r71069a9 r740e952  
    317317                cpp_args: arch_uspace_c_args,
    318318                link_args: arch_uspace_c_args + arch_uspace_link_args + _ldargs,
     319                build_by_default: true,
    319320        )
    320321
     
    328329                        output: _test_binname + '.disasm',
    329330                        capture: true,
    330                         install: install_debug_files,
    331                         install_dir: 'debug' / 'test',
    332                 )
    333 
    334                 install_files += [[ 'debug/test', _disasm.full_path(), _test_binname + '.disasm' ]]
    335                 install_deps += [ _disasm ]
     331                        build_by_default: true,
     332                )
     333
     334                if install_debug_files
     335                        install_files += [[ 'debug/test', _disasm.full_path(), _test_binname + '.disasm' ]]
     336                        install_deps += [ _disasm ]
     337                endif
    336338        endif
    337339endforeach
  • uspace/meson.build

    r71069a9 r740e952  
    66# This is currently disabled due to boot image size restrictions.
    77install_debug_files = false
    8 
    9 install_files = []
    10 install_deps = []
    118
    129subdir('lib')
     
    203200        endif
    204201endforeach
    205 
    206 uspace_bin_install_script_text = []
    207 
    208 foreach f : install_files
    209         _cmd = 'mkdir -p "${MESON_INSTALL_DESTDIR_PREFIX}@0@" && cp -L -T "@1@" "${MESON_INSTALL_DESTDIR_PREFIX}@0@/@2@"'
    210         uspace_bin_install_script_text += _cmd.format(f[0], f[1], f[2])
    211 endforeach
    212 
    213 uspace_install_script_text = uspace_lib_install_script_text + uspace_bin_install_script_text
    214 
    215 # Emit and register the install script.
    216 
    217 configure_file(
    218         configuration: { 'text' : '\n'.join(uspace_install_script_text) },
    219         input: 'install.sh.in',
    220         output: 'install.sh',
    221 )
    222 
    223 meson.add_install_script(meson.current_build_dir() / 'install.sh')
Note: See TracChangeset for help on using the changeset viewer.