README: Updated the build steps
- Updated the .gitignore file.
Signed-off-by: Ramesh Iyyar <rameshi1@in.ibm.com>
Change-Id: I3c472a7845e19d462d148be3405083ed3dbc52b4
diff --git a/.gitignore b/.gitignore
index d32cfcc..46d951a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,32 +1,3 @@
-openpower-proc-control
-openpower_procedures.cpp
-Makefile.generated
-*.o
-*.lo
-*.la
-*.sw*
-Makefile
-Makefile.in
-configure
-.deps
-.libs
-aclocal.m4
-ar-lib
-*-libtool
-autom4te.cache/
-compile
-config.guess
-config.h
-config.h.in
-config.log
-config.status
-config.sub
-depcomp
-install-sh
-ltmain.sh
-missing
-stamp-h1
-test-driver
-*.log
-utest
-utest.trs
+# meson
+/build
+/builddir
diff --git a/README.md b/README.md
index 19143a8..ab584ef 100644
--- a/README.md
+++ b/README.md
@@ -4,14 +4,12 @@
```
To build this package, do the following steps:
- 1. ./bootstrap.sh
- 2. ./configure ${CONFIGURE_FLAGS}
- 3. make
+ 1. meson builddir
+ 2. ninja -C builddir
To build with phal feature:
- 1. ./bootstrap.sh
- 2. ./configure ${CONFIGURE_FLAGS} --enable-phal --enable-openfsi
- 3. make
+ 1. meson builddir -Dphal=enabled -Dopenfsi=enabled
+ 2. ninja -C builddir
-To clean the repository run `./bootstrap.sh clean`.
+To clean the repository run `ninja -C builddir/ clean`.
```