Fix kernel/Makefile
This commit is contained in:
parent
1716a81e82
commit
d458c5c848
@ -54,7 +54,7 @@ $(MOON_OBJ)/%.asm.o: $(MOON_SRC)/%.asm
|
|||||||
$(ASM) $(ASMFLAGS) -o $@ $^
|
$(ASM) $(ASMFLAGS) -o $@ $^
|
||||||
|
|
||||||
build: $(OBJS)
|
build: $(OBJS)
|
||||||
@mkdir -p $(@D)
|
@mkdir -p $(MOON_BIN)
|
||||||
$(CC) $(OBJS) $(LDFLAGS) -o $(MOON_BIN)/moon.elf
|
$(CC) $(OBJS) $(LDFLAGS) -o $(MOON_BIN)/moon.elf
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@ -62,7 +62,7 @@ clean:
|
|||||||
rm -rf $(MOON_BIN)/*
|
rm -rf $(MOON_BIN)/*
|
||||||
|
|
||||||
install: $(MOON_BIN)/moon.elf
|
install: $(MOON_BIN)/moon.elf
|
||||||
@mkdir -p $(@D)
|
@mkdir -p $(LUNA_ROOT)/initrd/boot
|
||||||
cp $^ $(LUNA_ROOT)/initrd/boot/moon.elf
|
cp $^ $(LUNA_ROOT)/initrd/boot/moon.elf
|
||||||
$(LUNA_ROOT)/tools/generate-symbols.sh
|
$(LUNA_ROOT)/tools/generate-symbols.sh
|
||||||
$(STRIP) $(LUNA_ROOT)/initrd/boot/moon.elf
|
$(STRIP) $(LUNA_ROOT)/initrd/boot/moon.elf
|
||||||
|
Loading…
Reference in New Issue
Block a user