Make ready for clixon 5.4.0 development

This commit is contained in:
Olof hagsand 2021-09-30 16:16:00 +02:00
parent 9b6bb3ecbf
commit 648b3f41f2
7 changed files with 114 additions and 8 deletions

View file

@ -10,12 +10,17 @@ Install AFL, see [..](..)
Build and install a clixon system (in particular the backend, the CLI will be replaced)
Build and install CLIgen statically:
```
CC=/usr/bin/afl-clang-fast LINKAGE=static INSTALLFLAGS="" ./configure
```
## Build
Build clixon cli statically with the afl-clang compiler:
```
CC=/usr/bin/afl-clang-fast LINKAGE=static ./configure # Dont care about restconf
CC=/usr/bin/afl-clang-fast LINKAGE=static INSTALLFLAGS="" ./configure # Dont care about restconf
make clean
cd apps/cli
make clixon_cli
@ -44,7 +49,7 @@ Below is an example of how to do this for the main example. You can replace the
cd apps/cli # Compile and install clixon_cli with pre-compiled plugins
rm clixon_cli
EXTRAS="../../example/main/example_cli.o ../../example/main/test_cli.o" make clixon_cli
EXTRAS="../../example/main/example_cli.o" make clixon_cli
sudo make install
```