Changeset 740e952 in mainline
- Timestamp:
- 2019-08-17T12:49:43Z (5 years ago)
- 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)
- Files:
-
- 5 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r71069a9 r740e952 79 79 meson: $(COMMON_MAKEFILE) $(CONFIG_MAKEFILE) $(CONFIG_HEADER) $(ERRNO_HEADER) $(BUILD_DIR)/build.ninja 80 80 PATH="$(CROSS_PATH):$$PATH" ninja -C $(BUILD_DIR) 81 PATH="$(CROSS_PATH):$$PATH" DESTDIR="$(BUILD_DIR)/dist" meson install --no-rebuild --only-changed -C $(BUILD_DIR) > $(BUILD_DIR)/install.log81 PATH="$(CROSS_PATH):$$PATH" DESTDIR="$(BUILD_DIR)/dist" meson install --no-rebuild --only-changed -C $(BUILD_DIR) 82 82 83 83 test-xcw: meson export-cross -
kernel/meson.build
r71069a9 r740e952 140 140 link_depends: kernel_ldscript, 141 141 link_whole: all_kernel_objects, 142 install: is_last,143 install_dir: 'boot',144 142 pie: false, 145 143 ) … … 168 166 endforeach 169 167 168 install_files += [[ 'boot', kernel_elf.full_path(), 'kernel.elf' ]] 169 170 170 kernel_disasm = custom_target(kernel_name + '.disasm', 171 171 command: [ objdump, '-S', '@INPUT@' ], … … 174 174 capture: true, 175 175 build_by_default: true, 176 # TODO: Add configuration option for installing debug files177 install: false,178 install_dir: 'debug' / 'kernel',179 176 ) 177 178 # TODO: Add configuration option for installing debug files 179 if false 180 install_files += [[ 'boot', kernel_disasm.full_path(), 'kernel.elf.disasm' ]] 181 endif -
meson.build
r71069a9 r740e952 326 326 subdir('meson' / 'arch' / UARCH) 327 327 328 install_files = [] 329 install_deps = [] 330 328 331 subdir('kernel') 329 332 subdir('uspace') … … 393 396 394 397 install_data('Makefile.common', 'Makefile.config', install_dir: 'config') 398 399 400 # Emit and register the install script. 401 402 install_script_text = [] 403 404 foreach f : install_files 405 _cmd = 'mkdir -p "${MESON_INSTALL_DESTDIR_PREFIX}@0@" && cp -L -T "@1@" "${MESON_INSTALL_DESTDIR_PREFIX}@0@/@2@"' 406 install_script_text += _cmd.format(f[0], f[1], f[2]) 407 endforeach 408 409 install_script_text += uspace_lib_install_script_text 410 411 configure_file( 412 configuration: { 'text' : '\n'.join(install_script_text) }, 413 input: 'install.sh.in', 414 output: 'install.sh', 415 ) 416 417 meson.add_install_script(meson.current_build_dir() / 'install.sh') -
uspace/lib/meson.build
r71069a9 r740e952 317 317 cpp_args: arch_uspace_c_args, 318 318 link_args: arch_uspace_c_args + arch_uspace_link_args + _ldargs, 319 build_by_default: true, 319 320 ) 320 321 … … 328 329 output: _test_binname + '.disasm', 329 330 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 336 338 endif 337 339 endforeach -
uspace/meson.build
r71069a9 r740e952 6 6 # This is currently disabled due to boot image size restrictions. 7 7 install_debug_files = false 8 9 install_files = []10 install_deps = []11 8 12 9 subdir('lib') … … 203 200 endif 204 201 endforeach 205 206 uspace_bin_install_script_text = []207 208 foreach f : install_files209 _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 endforeach212 213 uspace_install_script_text = uspace_lib_install_script_text + uspace_bin_install_script_text214 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.