Updated fxconv call, still not working...

This commit is contained in:
Ulysse Cura 2025-08-12 22:30:05 +02:00
parent ed346d99c1
commit 946895c364
1 changed files with 2 additions and 5 deletions

View File

@ -59,13 +59,10 @@ $(BUILD_DIR)/%.o: %.cpp
$(Q)mkdir -p $(dir $@)
$(Q)$(CXX) $(CXXFLAGS) -MMD -MP -c $< -o $@
# Arch and BFD header version
ARCH := $(shell arch)
BFD_VER := $(shell objcopy --info 2>/dev/null | grep -m1 '^elf')
# Convert .png.o from .png
$(BUILD_DIR)/%.o: %
fxconv --cg --toolchain= --arch=$(ARCH) --outputtarget=$(BFD_VER) $< -o $@
#fxconv --cg --toolchain= --arch=x86-64 --outputtarget=elf64 $< -o $@
fxconv --cg --toolchain=sh-elf $< -o $@
# Source files dependencies
-include $(OBJECTS:.o=.d)