Load root directory from sd card

This commit is contained in:
Byron Lathi
2023-08-12 16:09:03 -07:00
parent 7039e649bb
commit fd9389268a
9 changed files with 277 additions and 211 deletions

View File

@@ -7,6 +7,8 @@ NAME=kernel
O65 = $(NAME).o65
FSDIR=../fsdir
LISTS=lists
SRCS=$(wildcard *.s) $(wildcard *.c)
@@ -16,6 +18,7 @@ OBJS+=$(patsubst %.c,%.o,$(filter %c,$(SRCS)))
# Make sure the kernel linked to correct address, no relocation!
all: $(O65)
cp $(O65) $(FSDIR)
$(O65): $(OBJS)
$(LD) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@

View File

@@ -28,7 +28,6 @@ FILES
FORMATS
{
o65: os = super, version = 0, type = small,
import = LUNIXKERNEL,
export = _init;
}