mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2024-12-29 13:03:36 +01:00
truly support custom toolchains (almost)
This commit is contained in:
parent
ef0e5e32f8
commit
4a8ba82fab
2 changed files with 7 additions and 12 deletions
8
configure
vendored
8
configure
vendored
|
@ -64,10 +64,6 @@ Size limits:
|
|||
--atexit-max=NUM Number of exit handlers in atexit()'s array [16]
|
||||
|
||||
Deprecated options (to be removed):
|
||||
-extended-libc Provide a few C99 headers (in the future, refer to the
|
||||
newlib port by Memallox's for the standard library)
|
||||
-timer-slots=<n> Number of virtual timer slots (this feature will be
|
||||
moved to an independent library) [16]
|
||||
-events-queue-size=<n>
|
||||
Size of event queue (this mechanism is likely to
|
||||
disappear in future versions) [64]
|
||||
|
@ -135,10 +131,6 @@ for arg; do case "$arg" in
|
|||
echo "error: '$arg' expects a value (see '$0 --help')";
|
||||
fail=true;;
|
||||
|
||||
-extended-libc)
|
||||
echo "warning: support for '-extended-libc' has been removed";;
|
||||
-timer-slots=*)
|
||||
echo "warning: support for '-timer-slots' has been removed";;
|
||||
-events-queue-size=*)
|
||||
echo "warning: support for '-events-queue-size' has been removed";;
|
||||
|
||||
|
|
|
@ -17,11 +17,12 @@ endif
|
|||
include $(CONFIG)
|
||||
|
||||
# Machine flags, defaults are provided for common toolchains
|
||||
|
||||
ifeq "$(CONFIG.TOOLCHAIN)" "sh3eb-elf"
|
||||
machine := -m3 -mb
|
||||
machine ?= -m3 -mb
|
||||
endif
|
||||
ifeq "$(CONFIG.TOOLCHAIN)" "sh4eb-elf"
|
||||
machine := -m4-nofpu -mb
|
||||
machine ?= -m4-nofpu -mb
|
||||
endif
|
||||
|
||||
# Compiler flags, assembler flags, dependency generation, archiving
|
||||
|
@ -106,11 +107,13 @@ src/%.c.o: ../src/%.c src/%.c.d
|
|||
# Special files
|
||||
$(call src2obj,../src/font5x7.png): ../src/font5x7.png
|
||||
@ mkdir -p $(dir $@)
|
||||
$(call cmd_m,fxconv,font5x7.png)$(conv) -f $< -o $@ name:gint_font5x7 \
|
||||
$(call cmd_m,fxconv,font5x7.png)$(conv) -f $< -o $@ \
|
||||
--fx --toolchain=$(CONFIG.TOOLCHAIN) name:gint_font5x7 \
|
||||
charset:ascii grid.size:5x7 grid.padding:1 grid.border:0
|
||||
$(call src2obj,../src/font8x9.png): ../src/font8x9.png
|
||||
@ mkdir -p $(dir $@)
|
||||
$(call cmd_m,fxconv,font8x9.png)$(conv) -f $< -o $@ name:gint_font8x9 \
|
||||
$(call cmd_m,fxconv,font8x9.png)$(conv) -f $< -o $@ \
|
||||
--cg --toolchain=$(CONFIG.TOOLCHAIN) name:gint_font8x9 \
|
||||
charset:print grid.size:8x11 grid.padding:1 grid.border:0 \
|
||||
proportional:true
|
||||
|
||||
|
|
Loading…
Reference in a new issue