Skip to content
Open
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
1 change: 1 addition & 0 deletions openarena/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/workdir/
12 changes: 12 additions & 0 deletions openarena/Config.uk
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
config APPOPENARENA
bool "Config OpenArena server with initrd as rootfs"
default y
select LIBOPENARENA
select LIBOPENARENA_MAIN_FUNCTION
select LIBVFSCORE
select LIBVFSCORE_AUTOMOUNT_UP
select LIBRAMFS
select LIBUKCPIO
select LIBDEVFS
select LIBDEVFS_AUTOMOUNT
select LIBDEVFS_DEVSTDOUT
13 changes: 13 additions & 0 deletions openarena/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
UK_ROOT ?= $(PWD)/workdir/unikraft
UK_BUILD ?= $(PWD)/workdir/build
UK_APP ?= $(PWD)
LIBS_BASE = $(PWD)/workdir/libs
UK_LIBS := $(LIBS_BASE)/openarena:$(LIBS_BASE)/musl:$(LIBS_BASE)/lwip:$(LIBS_BASE)/zlib

.PHONY: all

all:
@$(MAKE) -C $(UK_ROOT) L=$(UK_LIBS) A=$(UK_APP) O=$(UK_BUILD)

$(MAKECMDGOALS):
@$(MAKE) -C $(UK_ROOT) L=$(UK_LIBS) A=$(UK_APP) O=$(UK_BUILD) $(MAKECMDGOALS)
Loading