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

Change newlib with musl #9

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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))
9 changes: 5 additions & 4 deletions kraft.yaml
JADarius marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
specification: '0.5'
name: lua
unikraft: '0.5'
unikraft: 'stable'
targets:
- architecture: x86_64
platform: linuxu
- architecture: x86_64
platform: kvm
platform: qemu
- architecture: x86_64
platform: xen
libraries:
newlib: '0.5'
musl:
version: 'stable'
lua:
version: '0.5'
version: 'stable'
kconfig:
- CONFIG_LIBLUA=y
- CONFIG_LIBLUA_MAIN_FUNCTION=y
Expand Down