diff --git a/Makefile b/Makefile index f2ec7db7e5c49438f97849f9fddf870d6ddb0299..ac07a382d29973585ee915df531e746c7994089f 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,9 @@ include common.mk QOSMNGR_LIB=libqosmngr.so +QOSMNGR_LIB_DIR ?= $(shell dirname $(PWD)) +QOSMNGR_LDFLAGS = -lqosmngr -L$(QOSMNGR_LIB_DIR) + GCOV=gcov CODECOVERAGE_SRC = src/qosmngr.c @@ -39,4 +42,4 @@ clean: find -name '*.gcno' -exec rm {} -fv \; find -name '*.gcov' -exec rm {} -fv \; make -C test/cmocka clean - make -C src clean \ No newline at end of file + make -C src clean diff --git a/README.md b/README.md index c0f7e826514269e6a7c7b75294d006af176eca38..22433e0769915bc589e45b3522fe2deab6ea0b65 100644 --- a/README.md +++ b/README.md @@ -24,9 +24,14 @@ So far, the only method implemented is: } ``` +Implementation choices +=== +This has been modeled after what the `tmctl` command prints on the DG400. As such, the returned structure could be made somewhat more generic +if some other hardware would be supported after that. + TODO === - Reimplement the `reload` method provided by existing scripts - Tests -- Integration in the OS build +- Integration in the OS build \ No newline at end of file