Commit Graph

19 Commits

Author SHA1 Message Date
Lephenixnoir c79b3b1a9d
fxconv: add suport for libimg images and deprecate --image
This commit introduces the libimg image format, selected with the option
type:libimg-image. To avoid confusion with the bopti image format,
options -i and --image are now deprecated and should be replaced with
--bopti-image or type:bopti-image. The fxSDK Makefile has been updated
accordingly.

To support the construction of a structure that contains a pointer in
fxconv, an assembly-code feature has been added. The structure itself is
assembled with as and then linked with the data proper. This allows the
structure to reference the data by name and have the pointer calculated
by ld at link time.
2020-03-11 19:37:27 +01:00
Lephenixnoir b86b96aa4a
fxsdk: split additional libs into LIBS_FX and LIBS_CG
This is because several libraries have separate binaries, and so are
linked with different command-line arguments, just like gint is linked
with -lgint-fx on one side and -lgint-cg on the other.
2020-03-10 22:39:25 +01:00
Lephenixnoir 7d31294dc6
build: rewrite PREFIX in fxsdk.sh at compile-time
This makes it possible to change PREFIX at the last minute when running
install, effectively installing the files into a false packaging root
while retaining the same contents as if installed normally.
2020-02-19 22:26:29 +01:00
Lephenixnoir e66035da44 fxsdk: use sh-elf by default in project.cfg 2019-11-29 10:46:22 +01:00
Lephenixnoir 15712b4f5b
fxsdk: add an option to choose add-in output path 2019-09-12 15:38:15 +02:00
Lephenixnoir 46b19bab62
fxsdk: new build system 2019-09-12 14:34:26 +02:00
Lephenixnoir 4f145cb202
fxsdk: add assembler compilation rules 2019-09-08 22:16:54 +02:00
Lephe 627fe14290
fxsdk: add update command and fix LD flag order 2019-09-03 23:23:24 +02:00
Lephe e1ddf0f452 fxconv: code review and color image conversion
This change enhances the style of fxconv by using more classes and
generally more Pythonic constructions.

It also introduces image conversion for fx-CG 50, requiring the use
of --fx or --cg to specify the target machine with -i. The default
is set to --fx to maintain compatibility with older Makefiles.
2019-08-04 14:05:59 +02:00
Lephe d022755c2a fxsdk: fix the source selection wildcard
Turns out make doesn't have /**/. Whatever.
2019-07-21 13:22:27 -04:00
Lephe c11003eead fxsdk: detect source files recursively 2019-07-21 12:41:48 -04:00
Lephe fae60c518c default project: fix stupidity (#2) 2019-07-05 08:54:29 -04:00
Lephe 67e80fc081 default project: use the short color names (#2) 2019-07-05 08:17:23 -04:00
Lephe 14bef439ab fxsdk fxconv: various improvements 2019-07-03 13:49:48 -04:00
Lephe abcc5f07c9 fxsdk: add shortcuts and update help message (#1) 2019-06-16 19:47:19 -04:00
Lephe eb6644b00b fxsdk: add smarter install commands (#1) 2019-06-16 19:32:32 -04:00
Lephe c4f659071c fxsdk: add smart build commands (#1) 2019-06-16 19:21:07 -04:00
Lephe 32239c3dfe fxsdk: basic script, project creation and build (#1) 2019-06-16 11:58:30 -04:00
Lephe d19025bbc9 fxsdk: initial push for gint v2 (WIP but mostly done) 2019-03-21 22:54:06 +01:00