mirror of
https://git.planet-casio.com/Lephenixnoir/sh-elf-gcc.git
synced 2024-12-28 04:23:39 +01:00
manual build and README
This commit is contained in:
parent
23e34b8e7b
commit
e2a9744f1e
3 changed files with 18 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -7,3 +7,4 @@
|
|||
!uninstall.sh
|
||||
!util.sh
|
||||
!.gitignore
|
||||
!README.md
|
||||
|
|
13
README.md
Normal file
13
README.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Automatic `sh-elf-gcc` installer
|
||||
|
||||
This script can be used to automatically compile and install a GCC cross-compiler targeting SH3 and SH4 calculators. The normal use is with GiteaPC:
|
||||
|
||||
```
|
||||
% giteapc install Lephenixnoir/sh-elf-gcc
|
||||
```
|
||||
|
||||
You can also install manually. First install [`sh-elf-binutils`](https://gitea.planet-casio.com/Lephenixnoir/sh-elf-binutils), then run the GiteaPC Makefile with a manually-specified install prefix:
|
||||
|
||||
```
|
||||
% make -f giteapc.make configure build install PREFIX=$HOME/.local
|
||||
```
|
|
@ -1,6 +1,7 @@
|
|||
# giteapc: version=1
|
||||
# giteapc: depends=Lephenixnoir/sh-elf-binutils
|
||||
|
||||
PREFIX ?= $(GITEAPC_PREFIX)
|
||||
VERSION = 10.2.0
|
||||
|
||||
configure:
|
||||
|
@ -10,9 +11,9 @@ build:
|
|||
@ ./build.sh
|
||||
|
||||
install:
|
||||
@ ./install.sh "$(GITEAPC_PREFIX)"
|
||||
@ ./install.sh "$(PREFIX)"
|
||||
|
||||
uninstall:
|
||||
@ ./uninstall.sh "$(GITEAPC_PREFIX)"
|
||||
@ ./uninstall.sh "$(PREFIX)"
|
||||
|
||||
.PHONY: configure build install uninstall
|
||||
|
|
Loading…
Reference in a new issue