summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Cain <cjcain@us.ibm.com>2021-05-29 00:38:15 +0300
committerGunnar Mills <gmills@us.ibm.com>2021-06-02 23:54:13 +0300
commit92696982a22d8952b16c399f88898623d9e8b8ab (patch)
treedcc203ba4c2381751d107965aeb97e3b1f0425f8
parent984a4c2b0f25d3ca6af44d2f616dccf8d2c275d1 (diff)
downloadbmcweb-92696982a22d8952b16c399f88898623d9e8b8ab.tar.xz
Update clone and compile instructions
Signed-off-by: Chris Cain <cjcain@us.ibm.com> Change-Id: I3c32cd0f0da2f930c309619732cfba0084bc8f94
-rw-r--r--DEVELOPING.md14
-rw-r--r--README.md5
2 files changed, 7 insertions, 12 deletions
diff --git a/DEVELOPING.md b/DEVELOPING.md
index 11e7c93b31..5ff1391491 100644
--- a/DEVELOPING.md
+++ b/DEVELOPING.md
@@ -137,20 +137,10 @@
directions in the gerrit setup document.
- Clone bmcweb from gerrit
```
- git clone ssh://openbmc.gerrit/bmcweb/
+ git clone ssh://openbmc.gerrit/openbmc/bmcweb/
```
- - Ensure it compiles
- ```
- cmake ./ && make
- ```
- **Note:** If you'd like to enable debug traces in bmcweb, use the
- following command for cmake
- ```
- cmake ./ -DCMAKE_BUILD_TYPE:type=Debug
- ```
-
- - Make your changes as needed, rebuild with `make`
+ - Follow directions in [README.md](https://github.com/openbmc/bmcweb#configuration) to compile
- Reduce binary size by stripping it when ready for testing
```
diff --git a/README.md b/README.md
index 2875e36e1c..715edc39a2 100644
--- a/README.md
+++ b/README.md
@@ -40,6 +40,11 @@ mentioned in `bmcweb/subprojects`.
meson builddir -Dwrap_mode=nofallback
ninja -C builddir
```
+### Enable debug traces
+```ascii
+meson builddir -Dbuildtype=debug
+ninja -C builddir
+```
### Generate test coverage report:
```ascii
meson builddir -Db_coverage=true -Dtests=enabled