manual build and README

This commit is contained in:
Lephenixnoir 2021-01-02 10:38:07 +01:00
parent 613ac08a84
commit 6bc0923556
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
3 changed files with 18 additions and 3 deletions

1
.gitignore vendored
View File

@ -7,3 +7,4 @@
!uninstall.sh
!util.sh
!.gitignore
!README.md

13
README.md Normal file
View File

@ -0,0 +1,13 @@
# Automatic `sh-elf-binutils` installer
This script can be used to automatically compile and install an SH3/SH4 binutils suite. The normal use is with GiteaPC:
```
% giteapc install Lephenixnoir/sh-elf-binutils
```
You can also install binutils manually by running the GiteaPC Makefile with a manually-specified install prefix:
```
% make -f giteapc.make configure build install PREFIX=$HOME/.local
```

View File

@ -1,6 +1,7 @@
# giteapc: version=1
VERSION=2.35.1
PREFIX ?= $(GITEAPC_PREFIX)
VERSION = 2.35.1
configure:
@ ./configure.sh $(VERSION)
@ -9,9 +10,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