[PATCH 0/8] RFC: Add meson build system

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



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
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.

Marc-André Lureau (8):
  tests: allow out-of-tree test run
  dumptrees: allow to pass outputdir as first argument
  pylibfdt: allow build out of tree
  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

 .travis.yml                 |   8 +
 fstree.c                    |   2 +-
 libfdt/meson.build          |  38 +++++
 meson.build                 | 116 +++++++++++++
 pylibfdt/meson.build        |  21 +++
 pylibfdt/setup.py           |  12 +-
 tests/dtc-checkfails.sh     |   3 +-
 tests/dtc-fails.sh          |   3 +-
 tests/dtc-fatal.sh          |   3 +-
 tests/dumptrees.c           |   7 +
 tests/fdtdump-runtest.sh    |   3 +-
 tests/fdtget-runtest.sh     |   3 +-
 tests/fdtoverlay-runtest.sh |   3 +-
 tests/fdtput-runtest.sh     |   3 +-
 tests/incbin.c              |   6 +-
 tests/meson.build           | 120 +++++++++++++
 tests/pylibfdt_tests.py     |   6 +-
 tests/run_tests.sh          | 330 ++++++++++++++++++------------------
 util.h                      |   2 +-
 version_gen.h.in            |   1 +
 20 files changed, 508 insertions(+), 182 deletions(-)
 create mode 100644 libfdt/meson.build
 create mode 100644 meson.build
 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

-- 
2.23.0




[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