Build: Add support building with meson

Testing:
- Verified all code build as expected in CI and unit tests passed
- Done docker Unit testing

Signed-off-by: Shantappa Teekappanavar <sbteeks@yahoo.com>
Change-Id: Iaa296f85353ceddfd40cd860d41e0a6e3abfac49
11 files changed
tree: ce8c69c7443f2a7ac57fb05b84ffcdb899f1d4f3
  1. gen/
  2. org/
  3. phosphor-logging/
  4. subprojects/
  5. .clang-format
  6. .gitignore
  7. bootstrap.sh
  8. checkstop_app.cpp
  9. configure.ac
  10. LICENSE
  11. MAINTAINERS
  12. Makefile.am
  13. meson.build
  14. README.md
  15. watchdog_timeout.cpp
README.md

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS} --prefix=/usr
    3. make

To clean the repository run `./bootstrap.sh clean`.
For local build, pass --prefix=/usr option to the configure script
to let the Makefile use /usr/share value over /usr/local/share for ${datadir}
variable. The error yaml files and elog parser are stored in /usr/share
location in the SDK.
For CI build, ${datadir} is expanded to /usr/local/share to which the
dependent files and parser are exported, so don't add the prefix option.
For recipe build, ${datadir} is expanded to /usr/share to which the
dependent files and parser are exported, so don't add the prefix option.