Re: [PATCH v2 00/10] RFC: Add meson build system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



+ Rob

and my response inline below.

On 10/09/2019 05:20, marcandre.lureau@xxxxxxxxxx wrote:
> From: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>
> 
> Hi,
> 
> This series adds support for meson build system. The main reason for
> this, beside build-sys modernization, is to enable subproject()
> support in qemu.
> 
> Maintaining several build systems is a pain, so eventually it would be
> nice to deprecate Makefile build-sys, as I can imagine this may take a

Removing the Makefile method would be problematic for the Linux kernel
source tree, where we import dtc from the upstream project and build
it as part of the kernel build.

-Frank

> few releases for dev/distro to adopt. If this is acceptable, I can
> prepare another patch for README & Makefile.
> 
> See "build-sys: add meson build" for other details / changes compared
> to current build-sys.
> 
> v2:
>  - various misc improvements after David Gibson v1 review
>  - add various meson_options.txt build options
>  - add editorconfig patch
> 
> Marc-André Lureau (10):
>   Add .editorconfig
>   tests: allow out-of-tree test run
>   dumptrees: pass outputdir as first argument
>   pylibfdt: allow build out of tree
>   pylibfdt: fix build lib location
>   fstree: replace lstat with stat
>   util: use gnu_printf format attribute
>   tests: fix some python warnings
>   build-sys: add meson build
>   travis: test meson build
> 
>  .editorconfig               |  30 ++++
>  .travis.yml                 |   8 +
>  fstree.c                    |   2 +-
>  libfdt/meson.build          |  53 ++++++
>  meson.build                 | 119 +++++++++++++
>  meson_options.txt           |   9 +
>  pylibfdt/Makefile.pylibfdt  |   4 +-
>  pylibfdt/meson.build        |  13 ++
>  pylibfdt/setup.py           |  25 ++-
>  tests/Makefile.tests        |   2 +-
>  tests/dtc-checkfails.sh     |   3 +-
>  tests/dtc-fails.sh          |   3 +-
>  tests/dtc-fatal.sh          |   3 +-
>  tests/dumptrees.c           |  10 ++
>  tests/fdtdump-runtest.sh    |   3 +-
>  tests/fdtget-runtest.sh     |   3 +-
>  tests/fdtoverlay-runtest.sh |   3 +-
>  tests/fdtput-runtest.sh     |   3 +-
>  tests/incbin.c              |   7 +-
>  tests/meson.build           | 120 +++++++++++++
>  tests/pylibfdt_tests.py     |   6 +-
>  tests/run_tests.sh          | 330 ++++++++++++++++++------------------
>  util.h                      |   2 +-
>  version_gen.h.in            |   1 +
>  24 files changed, 574 insertions(+), 188 deletions(-)
>  create mode 100644 .editorconfig
>  create mode 100644 libfdt/meson.build
>  create mode 100644 meson.build
>  create mode 100644 meson_options.txt
>  create mode 100644 pylibfdt/meson.build
>  mode change 100644 => 100755 tests/dtc-fatal.sh
>  mode change 100644 => 100755 tests/fdtdump-runtest.sh
>  mode change 100644 => 100755 tests/fdtoverlay-runtest.sh
>  mode change 100644 => 100755 tests/fdtput-runtest.sh
>  create mode 100644 tests/meson.build
>  create mode 100644 version_gen.h.in
> 




[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux