2021-11-14 12:14:41 +01:00
|
|
|
# giteapc: version=1
|
|
|
|
|
|
|
|
PREFIX ?= $(GITEAPC_PREFIX)
|
2021-11-15 17:04:56 +01:00
|
|
|
VERSION_BINUTILS := 2.37
|
2021-11-17 20:43:16 +01:00
|
|
|
VERSION_GCC := 11.2.0
|
2021-11-14 12:14:41 +01:00
|
|
|
|
|
|
|
-include giteapc-config.make
|
|
|
|
|
|
|
|
configure:
|
2021-11-17 20:43:16 +01:00
|
|
|
@ cd ./scripts/binutils && ./configure.sh --version=$(VERSION_BINUTILS)
|
|
|
|
@ cd ./scripts/gcc && ./configure.sh --version=$(VERSION_GCC)
|
2021-11-14 12:14:41 +01:00
|
|
|
|
|
|
|
build:
|
2021-11-17 20:43:16 +01:00
|
|
|
@ cd ./scripts/binutils && ./build.sh
|
|
|
|
@ cd ./scripts/gcc && ./build.sh
|
2021-11-14 12:14:41 +01:00
|
|
|
|
|
|
|
install:
|
2021-11-17 20:43:16 +01:00
|
|
|
@ cd ./scripts/binutils && ./install.sh --prefix="$(PREFIX)"
|
|
|
|
@ cd ./scripts/gcc && ./install.sh --prefix="$(PREFIX)"
|
2021-11-14 12:14:41 +01:00
|
|
|
|
|
|
|
uninstall:
|
2021-11-17 20:43:16 +01:00
|
|
|
@ cd ./scripts/binutils && ./uninstall.sh --prefix="$(PREFIX)"
|
|
|
|
@ cd ./scripts/gcc && ./uninstall.sh --prefix="$(PREFIX)"
|
2021-11-14 12:14:41 +01:00
|
|
|
|
|
|
|
.PHONY: configure build install uninstall
|