[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [[UNIKRAFT/APP-LIBNETTLE_TEST] 2/3] Adding the Makefiles



Hey Cristian,

This patch looks good to me.

Reviewed-by: Cezar Craciunoiu <cezar.craciunoiu@xxxxxxxxx>

On 2021-01-28 19:26:54, cristian-vijelie <cristianvijelie@xxxxxxxxx> wrote:

Signed-off-by: cristian-vijelie
---
Makefile | 9 +++++++++
Makefile.uk | 3 +++
2 files changed, 12 insertions(+)
create mode 100644 Makefile
create mode 100644 Makefile.uk

diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..bd69f4b
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,9 @@
+UK_ROOT ?= $(PWD)/../../unikraft
+UK_LIBS ?= $(PWD)/../../libs
+LIBS := $(UK_LIBS)/lib-nettle:$(UK_LIBS)/lib-newlib
+
+all:
+ @$(MAKE) -C $(UK_ROOT) A=$(PWD) L=$(LIBS)
+
+$(MAKECMDGOALS):
+ @$(MAKE) -C $(UK_ROOT) A=$(PWD) L=$(LIBS) $(MAKECMDGOALS)
diff --git a/Makefile.uk b/Makefile.uk
new file mode 100644
index 0000000..5ae7f49
--- /dev/null
+++ b/Makefile.uk
@@ -0,0 +1,3 @@
+$(eval $(call addlib,applibnettletest))
+
+APPLIBNETTLETEST_SRCS-y += $(APPLIBNETTLETEST_BASE)/main.c
--
2.25.1



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.