[USER] Load and run ELF module in userspace

This commit is contained in:
thomas committed 2017-03-27 23:09:09 +02:00
1 parent aa50bbcd0f
commit 63b3c3f2c0
11 files changed
+163 -21

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
ifeq ($(MITTOS64),)
$(error Build environment is not activated. Please source activate)
endif
installdir := $(SYSROOT)/boot
CFLAGS ?= -Wall -Wextra -ggdb -O0
all: init
$(installdir)/init: init
mkdir -p $(dir $@)
cp $< $@
install: $(installdir)/init
clean:
rm -rf init
.PHONY: all clean install