add support for quick build/install with GiteaPC
This commit is contained in:
parent
d71e94855b
commit
09555bd3aa
|
@ -7,3 +7,7 @@
|
|||
# Testing build system
|
||||
/testing/libimg
|
||||
/testing/transform.bin
|
||||
|
||||
# Custom GiteaPC configurations
|
||||
giteapc-config-*.make
|
||||
giteapc-config.make
|
||||
|
|
10
README.md
10
README.md
|
@ -26,7 +26,15 @@ There is no function to convert between `bopti_image_t` and `img_t`. Both types
|
|||
* If the image needs to be read or transformed, use libimg. Set the fxconv parameters of the resource to `type:libimg-image` and declare it as `extern img_t myimage`.
|
||||
* Otherwise, bopti should be used for maximum performance. Set the fxconv parameters to `type:bopti_image` and declare it as `extern bopti_image_t myimage`.
|
||||
|
||||
## Compiling libimg
|
||||
## Installing libimg with GiteaPC
|
||||
|
||||
libimg can be installed with [GiteaPC](https://gitea.planet-casio.com/Lephenixnoir/GiteaPC), a tool designed to automate library maintenance in the fxSDK.
|
||||
|
||||
```
|
||||
% giteapc install Lephenixnoir/libimg
|
||||
```
|
||||
|
||||
## Compiling and installing libimg manually
|
||||
|
||||
Building libimg for the calculator requires a SuperH compiler. If you have `sh-elf-gcc`, then you're ready to go. libimg will be compiled for both fx-9860G (Graph 35+E-like) and fx-CG 50 (Graph 90+E), and it will install itself in the proper compiler-managed directory.
|
||||
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
# giteapc: version=1 depends=Lephenixnoir/gint
|
||||
|
||||
-include giteapc-config.make
|
||||
|
||||
configure:
|
||||
@ true
|
||||
|
||||
build:
|
||||
@ make
|
||||
|
||||
install:
|
||||
@ make install
|
||||
|
||||
uninstall:
|
||||
@ make uninstall
|
||||
|
||||
.PHONY: configure build install uninstall
|
Loading…
Reference in New Issue