Changeset 56440a5 in mainline for meson.build


Ignore:
Timestamp:
2019-08-17T12:49:43Z (5 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:
d3357e9
Parents:
667c3fc
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-06-30 14:25:09)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-08-17 12:49:43)
Message:

Add build_all.sh script

Can be run from any directory.
It configures and builds all configurations preset in defaults
in subdirectories of the current working directory.

As a special case, if the CWD is HelenOS source root, it first
changes to 'build_all' subdirectory to avoid cluttering up the
source tree.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • meson.build

    r667c3fc r56440a5  
    1111)
    1212
     13debug_options = false
     14debug_shell_scripts = false
     15
    1316if not meson.is_cross_build()
    1417        subdir('doxygen')
     
    1821cc = meson.get_compiler('c')
    1922basename = find_program('basename')
     23cp = find_program('cp')
    2024dirname = find_program('dirname')
    2125find = find_program('find')
    2226grep = find_program('grep')
    2327mkarray = find_program('tools/mkarray_for_meson.sh')
     28mkext4 = find_program('tools/mkext4.py')
     29mkfat = find_program('tools/mkfat.py')
     30mkuimage = find_program('tools/mkuimage.py')
     31objcopy = find_program('objcopy')
    2432objdump = find_program('objdump')
    25 objcopy = find_program('objcopy')
    2633sed = find_program('sed')
    2734unzip = find_program('unzip')
    2835which = find_program('which')
    29 sh = [ find_program('sh'), '-x', '-u', '-e' ]
    30 mkext4 = find_program('tools/mkext4.py')
    31 mkfat = find_program('tools/mkfat.py')
    32 mkuimage = find_program('tools/mkuimage.py')
    33 cp = find_program('cp')
     36
     37sh = [ find_program('sh'), '-u', '-e' ]
     38if debug_shell_scripts
     39        sh += '-x'
     40endif
    3441
    3542genisoimage = find_program('genisoimage', required: false)
     
    8289        '@INPUT@',
    8390]
    84 
    85 debug_options = false
    8691
    8792# Output compiler flags for use by third-party builds.
Note: See TracChangeset for help on using the changeset viewer.