forked from d0k3/GodMode9
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed screen init, hopefully the last commmit
- properly performs gpu/backlight reset - nukes vram so the initrd had to be moved to arm9 memory, and have its size (at least temporarily) limited to 256k
- Loading branch information
Showing
36 changed files
with
2,398 additions
and
2,170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
OBJECTS := $(patsubst $(SOURCE)/%.s, $(BUILD)/%.o, \ | ||
$(patsubst $(SOURCE)/%.c, $(BUILD)/%.o, \ | ||
$(call rwildcard, $(SOURCE), *.s *.c))) | ||
OBJECTS_COMMON := $(patsubst $(COMMON_DIR)/%.c, $(BUILD)/%.cmn.o, \ | ||
$(call rwildcard, $(COMMON_DIR), *.c)) | ||
.PHONY: all | ||
all: $(TARGET).elf | ||
.PHONY: clean | ||
clean: | ||
@rm -rf $(BUILD) $(TARGET).elf $(TARGET).map | ||
$(TARGET).elf: $(OBJECTS) $(OBJECTS_COMMON) | ||
@mkdir -p "$(@D)" | ||
@$(CC) $(LDFLAGS) $^ -o $@ | ||
$(BUILD)/%.cmn.o: $(COMMON_DIR)/%.c | ||
@mkdir -p "$(@D)" | ||
@echo "[$(PROCESSOR)] $<" | ||
@$(CC) -c $(CFLAGS) -o $@ $< | ||
$(BUILD)/%.o: $(SOURCE)/%.c | ||
@mkdir -p "$(@D)" | ||
@echo "[$(PROCESSOR)] $<" | ||
@$(CC) -c $(CFLAGS) -o $@ $< | ||
$(BUILD)/%.o: $(SOURCE)/%.s | ||
@mkdir -p "$(@D)" | ||
@echo "[$(PROCESSOR)] $<" | ||
@$(CC) -c $(ASFLAGS) -o $@ $< | ||
include $(call rwildcard, $(BUILD), *.d) | ||
|
||
OBJECTS := $(patsubst $(SOURCE)/%.s, $(BUILD)/%.o, \ | ||
$(patsubst $(SOURCE)/%.c, $(BUILD)/%.o, \ | ||
$(call rwildcard, $(SOURCE), *.s *.c))) | ||
|
||
OBJECTS_COMMON := $(patsubst $(COMMON_DIR)/%.c, $(BUILD)/%.cmn.o, \ | ||
$(call rwildcard, $(COMMON_DIR), *.c)) | ||
|
||
.PHONY: all | ||
all: $(TARGET).elf | ||
|
||
.PHONY: clean | ||
clean: | ||
@rm -rf $(BUILD) $(TARGET).elf $(TARGET).map | ||
|
||
$(TARGET).elf: $(OBJECTS) $(OBJECTS_COMMON) | ||
@mkdir -p "$(@D)" | ||
@$(CC) $(LDFLAGS) $^ -o $@ | ||
|
||
$(BUILD)/%.cmn.o: $(COMMON_DIR)/%.c | ||
@mkdir -p "$(@D)" | ||
@echo "[$(PROCESSOR)] $<" | ||
@$(CC) -c $(CFLAGS) -o $@ $< | ||
|
||
$(BUILD)/%.o: $(SOURCE)/%.c | ||
@mkdir -p "$(@D)" | ||
@echo "[$(PROCESSOR)] $<" | ||
@$(CC) -c $(CFLAGS) -o $@ $< | ||
|
||
$(BUILD)/%.o: $(SOURCE)/%.s | ||
@mkdir -p "$(@D)" | ||
@echo "[$(PROCESSOR)] $<" | ||
@$(CC) -c $(ASFLAGS) -o $@ $< | ||
|
||
include $(call rwildcard, $(BUILD), *.d) |
Oops, something went wrong.