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

Commit

Permalink
Makefile*, kraft.yaml: Change newlib to musl
Browse files Browse the repository at this point in the history
This commit changes the newlib dependency with the newer musl one
because it is the new standard.

Signed-off-by: Darius-Andrei Jipa <jipad16@yahoo.com>
Reviewed-by: Eduard Vintilă <eduard.vintila47@gmail.com>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #9
  • Loading branch information
JADarius authored and unikraft-bot committed Jul 26, 2023
1 parent 8ca6102 commit 5724b17
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 5724b17

Please sign in to comment.