Updated fxconv call, still not working...
This commit is contained in:
parent
ed346d99c1
commit
946895c364
7
Makefile
7
Makefile
|
@ -59,13 +59,10 @@ $(BUILD_DIR)/%.o: %.cpp
|
||||||
$(Q)mkdir -p $(dir $@)
|
$(Q)mkdir -p $(dir $@)
|
||||||
$(Q)$(CXX) $(CXXFLAGS) -MMD -MP -c $< -o $@
|
$(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
|
# Convert .png.o from .png
|
||||||
$(BUILD_DIR)/%.o: %
|
$(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
|
# Source files dependencies
|
||||||
-include $(OBJECTS:.o=.d)
|
-include $(OBJECTS:.o=.d)
|
||||||
|
|
Loading…
Reference in New Issue