Fix uart_mini initialization and emulation
This commit is contained in:
+5
-1
@@ -42,15 +42,19 @@ all: kernel
|
||||
|
||||
default: kernel
|
||||
|
||||
kernel: $(BUILD_DIR)kernel.elf
|
||||
kernel: $(BUILD_DIR)kernel.elf $(BUILD_DIR)kernel.list $(BUILD_DIR)kernel.bin
|
||||
|
||||
$(BUILD_DIR)kernel.elf: $(OBJECT_FILES)
|
||||
$(info linking target: $@)
|
||||
$(AARCH64_LD) -T$(LD_SCRIPT) -nostdlib $^ -o $@
|
||||
$(info done: $@)
|
||||
|
||||
$(BUILD_DIR)kernel.list: $(BUILD_DIR)kernel.elf
|
||||
$(AARCH64_OBJCOPY) -D $(BUILD_DIR)kernel.elf > $@
|
||||
|
||||
$(BUILD_DIR)kernel.bin: $(BUILD_DIR)/kernel.elf
|
||||
$(AARCH64_OBJCOPY) -O binary $< $@
|
||||
cp $@ $(BUILD_DIR)kernel8.img
|
||||
|
||||
$(BUILD_DIR)kernel.sym: $(BUILD_DIR)/kernel.elf
|
||||
$(AARCH64_OBJCOPY) --only-keep-debug $< $@
|
||||
|
||||
Reference in New Issue
Block a user