2021-11-14 12:14:41 +01:00
|
|
|
|
2022-07-30 22:27:22 +02:00
|
|
|
VERSION_BINUTILS := 2.38
|
|
|
|
VERSION_GCC := 11.3.0
|
2021-11-14 12:14:41 +01:00
|
|
|
|
2022-07-30 19:47:40 +02:00
|
|
|
ifeq ($(VXSDK_PREFIX_INSTALL),)
|
|
|
|
$(error you need to use the vxSDK to compile this package)
|
|
|
|
endif
|
|
|
|
|
2021-11-14 12:14:41 +01:00
|
|
|
configure:
|
2022-01-25 10:44:34 +01:00
|
|
|
@ cd ./scripts/binutils \
|
|
|
|
&& ./configure.sh --version="$(VERSION_BINUTILS)" \
|
|
|
|
&& cd ../gcc && ./configure.sh --version="$(VERSION_GCC)"
|
2021-11-14 12:14:41 +01:00
|
|
|
|
|
|
|
build:
|
2022-01-25 10:44:34 +01:00
|
|
|
@ cd ./scripts/binutils && ./build.sh && cd ../gcc && ./build.sh
|
2021-11-14 12:14:41 +01:00
|
|
|
|
|
|
|
install:
|
2022-01-25 10:44:34 +01:00
|
|
|
@ cd ./scripts/binutils \
|
2022-07-30 19:42:06 +02:00
|
|
|
&& ./install.sh --prefix="$(VXSDK_PREFIX_INSTALL)" \
|
|
|
|
&& cd ../gcc && ./install.sh --prefix="$(VXSDK_PREFIX_INSTALL)"
|
2021-11-14 12:14:41 +01:00
|
|
|
|
|
|
|
uninstall:
|
2022-01-25 10:44:34 +01:00
|
|
|
@ cd ./scripts/binutils \
|
2022-07-30 19:42:06 +02:00
|
|
|
&& ./uninstall.sh --prefix="$(VXSDK_PREFIX_INSTALL)" \
|
|
|
|
&& cd ../gcc && ./uninstall.sh --prefix="$(VXSDK_PREFIX_INSTALL)"
|
2021-11-14 12:14:41 +01:00
|
|
|
|
|
|
|
.PHONY: configure build install uninstall
|