Add README

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.

For local build need to pass the prefix option as the ${datadir}
expands to /usr/local/share by default but the required yaml and
parser exist at /usr/share location in SDK.

Change-Id: Ib0d776fe9b03b862c6f8dff5339fbde49d71bd5d
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
1 file changed
tree: 966b71dd49726331727b171122f9a271e14a4772
  1. org/
  2. .gitignore
  3. bootstrap.sh
  4. checkstop_app.cpp
  5. configure.ac
  6. LICENSE
  7. Makefile.am
  8. README.md
  9. 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 full clean the repository again 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.