Remove userspace for now
This commit is contained in:
parent
46b7dab847
commit
a0459df8d7
11
Makefile
11
Makefile
@ -1,11 +1,10 @@
|
|||||||
build: $(LUNA_ROOT)/kernel/bin/moon.elf $(LUNA_ROOT)/userspace/bin/Hello.bin
|
build: $(LUNA_ROOT)/kernel/bin/moon.elf
|
||||||
|
|
||||||
clean: moon-clean initrd-clean userspace-clean
|
clean: moon-clean initrd-clean
|
||||||
|
|
||||||
initrd-clean:
|
initrd-clean:
|
||||||
rm -f $(LUNA_ROOT)/initrd/boot/moon.elf $(LUNA_ROOT)/Luna.iso $(LUNA_ROOT)/initrd/sys/Hello.bin
|
rm -f $(LUNA_ROOT)/initrd/boot/moon.elf $(LUNA_ROOT)/Luna.iso
|
||||||
|
|
||||||
install: $(LUNA_ROOT)/initrd/boot/moon.elf $(LUNA_ROOT)/initrd/sys/Hello.bin
|
install: $(LUNA_ROOT)/initrd/boot/moon.elf
|
||||||
|
|
||||||
include kernel/Makefile
|
include kernel/Makefile
|
||||||
include userspace/Makefile
|
|
@ -1 +0,0 @@
|
|||||||
<EFBFBD>1
|
|
@ -1,12 +0,0 @@
|
|||||||
USERSPACE_DIR=$(LUNA_ROOT)/userspace
|
|
||||||
USERSPACE_SRC=$(USERSPACE_DIR)/src
|
|
||||||
USERSPACE_BIN=$(USERSPACE_DIR)/bin
|
|
||||||
|
|
||||||
$(USERSPACE_BIN)/Hello.bin: $(USERSPACE_SRC)/Hello.asm
|
|
||||||
nasm -fbin $< -o $@
|
|
||||||
|
|
||||||
$(LUNA_ROOT)/initrd/sys/Hello.bin: $(USERSPACE_BIN)/Hello.bin
|
|
||||||
cp $< $@
|
|
||||||
|
|
||||||
userspace-clean:
|
|
||||||
rm -rf $(USERSPACE_BIN)/*
|
|
@ -1 +0,0 @@
|
|||||||
<EFBFBD>1
|
|
@ -1,5 +0,0 @@
|
|||||||
[BITS 64]
|
|
||||||
[ORG 7000h]
|
|
||||||
|
|
||||||
init:
|
|
||||||
int 31h ; exit
|
|
Loading…
Reference in New Issue
Block a user