Changeset 32b4302 in mainline for meson/part/extra_targets/meson.build
- Timestamp:
- 2019-08-18T19:06:02Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1c39d33b
- Parents:
- fa70134 (diff), 6c2fac18 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-08-18 19:06:02)
- git-committer:
- GitHub <noreply@…> (2019-08-18 19:06:02)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
meson/part/extra_targets/meson.build
rfa70134 r32b4302 1 1 # 2 2 # Copyright (c) 2017 Jiri Svoboda 3 # Copyright (c) 2019 Jiří Zárevúcky 3 4 # All rights reserved. 4 5 # … … 27 28 # 28 29 29 USPACE_PREFIX = ../.. 30 BINARY = gunzip 30 run_target('config', 31 command: [ 32 sh, 33 '-c', 'cd $1 && $2 $3 $4 $5', 34 '--', 35 meson.build_root(), 36 config_py.path(), 37 meson.source_root() / 'HelenOS.config', 38 meson.source_root() / 'defaults', 39 '--mask-platform', 40 ] 41 ) 31 42 32 LIBS = compress 43 # TODO: Check when cross target has changed, since it won't work. 33 44 34 SOURCES = \ 35 gunzip.c 45 if false 46 # TODO: doesn't work because it changes cross target 47 run_target('random-config', 48 command: [ 49 sh, 50 '-c', 'cd $1 && $2 $3 $4 random', 51 '--', 52 meson.build_root(), 53 config_py.path(), 54 meson.source_root() / 'HelenOS.config', 55 meson.source_root() / 'defaults', 56 ] 57 ) 58 endif 36 59 37 include $(USPACE_PREFIX)/Makefile.common 60 if doxygen.found() 61 _patch_file = files('doxygen.cfg.diff') 62 63 _gen_cfg = custom_target('doxygen.cfg.gen', 64 output: 'doxygen.cfg.gen', 65 command: [ doxygen, '-g', '@OUTPUT@' ], 66 ) 67 68 _dox_cfg = custom_target('doxygen.cfg', 69 output: 'doxygen.cfg', 70 input: [ _gen_cfg, _patch_file ], 71 command: [ patch, '-o', '@OUTPUT@', '@INPUT@' ], 72 ) 73 74 run_target('doxygen', command: [ doxygen, _dox_cfg ]) 75 endif 76 77 # TODO text-xcw 78 #ifeq ($(CONFIG_DEVEL_FILES),y) 79 # export PATH=$$PATH:$(abspath tools/xcw/bin) && $(MAKE) -r -C tools/xcw/demo 80 #endif 81 82 # TODO special target for posix and xcw exports, update coastline for it
Note:
See TracChangeset
for help on using the changeset viewer.