Changeset 7749646 in mainline
- Timestamp:
- 2019-08-17T12:49:44Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6068476
- Parents:
- e3737eda
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-07-16 17:44:58)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-08-17 12:49:44)
- Files:
-
- 3 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
meson/part/exports/meson.build
re3737eda r7749646 9 9 10 10 export_cppflags = [ 11 '-isystem', '$(HELENOS_EXPORT_ROOT)/include/ posix',11 '-isystem', '$(HELENOS_EXPORT_ROOT)/include/libposix', 12 12 '-isystem', '$(HELENOS_EXPORT_ROOT)/include/libc', 13 13 '-idirafter', '$(HELENOS_EXPORT_ROOT)/include', … … 56 56 capture: true, 57 57 ) 58 59 install_files += [[ 'config', meson.current_build_dir() / 'config.mk', 'config.mk' ]]60 install_deps += [ config_mk ]61 install_files += [[ 'config', meson.current_build_dir() / 'config.sh', 'config.sh' ]]62 install_deps += [ config_sh ] -
meson/part/initrd/meson.build
re3737eda r7749646 31 31 endforeach 32 32 33 if CONFIG_DEVEL_FILES 34 install_script_text += uspace_lib_devel_install_script_text 35 endif 36 37 install_devel_script = configure_file( 38 configuration: { 'text' : '\n'.join(uspace_lib_devel_install_script_text) }, 39 input: 'install_devel.sh.in', 40 output: 'install_devel.sh', 41 ) 42 33 43 install_script_text += uspace_lib_install_script_text 34 44 … … 42 52 43 53 dist_dir = meson.build_root() / 'dist/' 54 55 run_target('devel-headers', 56 command: [ sh, install_devel_script, dist_dir ], 57 ) 44 58 45 59 dist = custom_target('DIST', -
uspace/lib/c/meson.build
re3737eda r7749646 21 21 # we should instead move the duplicated library parts into a shared location. 22 22 23 if CONFIG_DEVEL_FILES 24 uspace_lib_install_script_text += 'mkdir -p "${DESTDIR}include/libc"' 25 26 foreach idir : incdirs 27 _sdir = meson.current_source_dir() / idir 28 uspace_lib_install_script_text += 'cp -R -L -T "@0@" "${DESTDIR}include/libc"'.format(_sdir) 29 endforeach 30 endif 23 uspace_lib_devel_install_script_text += 'mkdir -p "${DESTDIR}include/libc"' 24 foreach idir : incdirs 25 _sdir = meson.current_source_dir() / idir 26 uspace_lib_devel_install_script_text += 'cp -R -L -T "@0@" "${DESTDIR}include/libc"'.format(_sdir) 27 endforeach 31 28 32 29 src = [ arch_src ] -
uspace/lib/meson.build
re3737eda r7749646 64 64 65 65 # Text of the install script. 66 uspace_lib_ install_script_text = []66 uspace_lib_devel_install_script_text = [] 67 67 68 68 foreach l : libs … … 121 121 includes += include_directories(incdir) 122 122 123 if CONFIG_DEVEL_FILES andinstalled_libs.contains(l)123 if installed_libs.contains(l) 124 124 _sdir = meson.current_source_dir() / l / 'include' 125 uspace_lib_ install_script_text += 'cp -R -L -T "@0@" "${DESTDIR}include/lib@1@"'.format(_sdir, l)125 uspace_lib_devel_install_script_text += 'cp -R -L -T "@0@" "${DESTDIR}include/lib@1@"'.format(_sdir, l) 126 126 endif 127 127 else 128 128 includes += include_directories(l) 129 129 130 if CONFIG_DEVEL_FILES andinstalled_libs.contains(l)130 if installed_libs.contains(l) 131 131 _sdir = meson.current_source_dir() / l 132 uspace_lib_ install_script_text += 'mkdir -p "${DESTDIR}include/lib@0@"'.format(l)133 uspace_lib_ install_script_text += 'cp -L -t "${DESTDIR}include/lib@0@" "@1@"/*.h || true'.format(l, _sdir)132 uspace_lib_devel_install_script_text += 'mkdir -p "${DESTDIR}include/lib@0@"'.format(l) 133 uspace_lib_devel_install_script_text += 'cp -L -t "${DESTDIR}include/lib@0@" "@1@"/*.h || true'.format(l, _sdir) 134 134 endif 135 135 endif -
uspace/lib/posix/meson.build
re3737eda r7749646 34 34 ) 35 35 36 _sdir = meson.current_source_dir() / 'include' / 'posix' 37 uspace_lib_devel_install_script_text += 'mkdir -p "${DESTDIR}include/libposix"' 38 uspace_lib_devel_install_script_text += 'cp -R -L -T "@0@" "${DESTDIR}include/libposix"'.format(_sdir) 39 36 40 # TODO: exports
Note:
See TracChangeset
for help on using the changeset viewer.