From d458c5c8487a130fe5417ca60f966834d835ac1e Mon Sep 17 00:00:00 2001 From: apio Date: Mon, 24 Oct 2022 20:52:11 +0200 Subject: [PATCH] Fix kernel/Makefile --- kernel/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/Makefile b/kernel/Makefile index 55749e58..12fe404a 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -54,7 +54,7 @@ $(MOON_OBJ)/%.asm.o: $(MOON_SRC)/%.asm $(ASM) $(ASMFLAGS) -o $@ $^ build: $(OBJS) - @mkdir -p $(@D) + @mkdir -p $(MOON_BIN) $(CC) $(OBJS) $(LDFLAGS) -o $(MOON_BIN)/moon.elf clean: @@ -62,7 +62,7 @@ clean: rm -rf $(MOON_BIN)/* install: $(MOON_BIN)/moon.elf - @mkdir -p $(@D) + @mkdir -p $(LUNA_ROOT)/initrd/boot cp $^ $(LUNA_ROOT)/initrd/boot/moon.elf $(LUNA_ROOT)/tools/generate-symbols.sh $(STRIP) $(LUNA_ROOT)/initrd/boot/moon.elf