[USER] Load and run ELF module in userspace
This commit is contained in:
23
init/Makefile
Normal file
23
init/Makefile
Normal 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
|
||||
Reference in New Issue
Block a user