Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.

Commit

Permalink
app-lua: change newlib to musl
Browse files Browse the repository at this point in the history
Signed-off-by: Darius-Andrei Jipa <jipad16@yahoo.com>
  • Loading branch information
JADarius committed Jul 15, 2023
1 parent 8ca6102 commit 554c938
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
UK_ROOT ?= $(PWD)/.unikraft/unikraft
UK_LIBS ?= $(PWD)/.unikraft/libs
LIBS := $(UK_LIBS)/musl:$(UK_LIBS)/lua

all:
@$(MAKE) -C $(UK_ROOT) A=$(PWD) L=$(LIBS)

$(MAKECMDGOALS):
@$(MAKE) -C $(UK_ROOT) A=$(PWD) L=$(LIBS) $(MAKECMDGOALS)
1 change: 1 addition & 0 deletions Makefile.uk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$(eval $(call addlib,applua))
7 changes: 4 additions & 3 deletions kraft.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
specification: '0.5'
name: lua
unikraft: '0.5'
unikraft: 'stable'
targets:
- architecture: x86_64
platform: linuxu
Expand All @@ -9,9 +9,10 @@ targets:
- architecture: x86_64
platform: xen
libraries:
newlib: '0.5'
musl:
version: stable
lua:
version: '0.5'
version: '0.13.1'
kconfig:
- CONFIG_LIBLUA=y
- CONFIG_LIBLUA_MAIN_FUNCTION=y
Expand Down

0 comments on commit 554c938

Please sign in to comment.