Changeset d63c842 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:
- 68b892a
- Parents:
- 5852a5a
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-06-27 15:12:17)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-08-17 12:49:43)
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
install.sh
r5852a5a rd63c842 18 18 # The properly separated headers are installed by the meson script. 19 19 20 # TODO We don't currently install them all due to image size issues21 installed_libs="lib/c lib/gui lib/draw lib/softrend"22 23 if $CONFIG_DEVEL_FILES; then24 echo "######## Installing headers ########"25 cd ${MESON_SOURCE_ROOT}/uspace26 27 incdir="${MESON_INSTALL_DESTDIR_PREFIX}include"28 29 for libdir in ${installed_libs}; do30 if [ -d ${libdir} -a ! -d ${libdir}/include ]; then31 find ${libdir} -maxdepth 1 -name '*.h' -a '!' -path ${libdir}'/doc/*' | sed 's:^lib/::' | xargs --verbose -I'@' install -C -D -m644 -T 'lib/@' ${incdir}'/lib@'32 fi33 done34 fi35 36 20 ) > ${MESON_BUILD_ROOT}/install_custom.log 2>&1 -
uspace/lib/c/meson.build
r5852a5a rd63c842 22 22 23 23 if CONFIG_DEVEL_FILES 24 uspace_lib_install_script_text += 'mkdir -p "${MESON_INSTALL_DESTDIR_PREFIX}include/libc"' 25 24 26 foreach idir : incdirs 25 install_subdir(idir, install_dir: 'include' / 'libc', strip_directory: true) 27 _sdir = meson.current_source_dir() / idir 28 uspace_lib_install_script_text += 'cp -R -L -T "@0@" "${MESON_INSTALL_DESTDIR_PREFIX}include/libc"'.format(_sdir) 26 29 endforeach 27 30 endif -
uspace/lib/meson.build
r5852a5a rd63c842 123 123 124 124 if CONFIG_DEVEL_FILES and installed_libs.contains(l) 125 install_subdir(l / 'include', install_dir: 'include' / 'lib' + l, strip_directory: true) 125 _sdir = meson.current_source_dir() / l / 'include' 126 uspace_lib_install_script_text += 'cp -R -L -T "@0@" "${MESON_INSTALL_DESTDIR_PREFIX}include/lib@1@"'.format(_sdir, l) 126 127 endif 127 128 else 128 129 includes += include_directories(l) 130 131 if CONFIG_DEVEL_FILES and installed_libs.contains(l) 132 _sdir = meson.current_source_dir() / l 133 uspace_lib_install_script_text += 'mkdir -p "${MESON_INSTALL_DESTDIR_PREFIX}include/lib@0@"'.format(l) 134 uspace_lib_install_script_text += 'cp -L -t "${MESON_INSTALL_DESTDIR_PREFIX}include/lib@0@" "@1@"/*.h'.format(l, _sdir) 135 endif 129 136 endif 130 137 endif -
uspace/meson.build
r5852a5a rd63c842 7 7 install_debug_files = false 8 8 9 install_files = [] 10 install_deps = [] 11 9 12 subdir('lib') 10 13 subdir('app') … … 12 15 subdir('drv') 13 16 14 install_files = []15 install_deps = []16 17 dirs = [] 17 18
Note:
See TracChangeset
for help on using the changeset viewer.