Custom version of GCC for the Vhex kernel which enable shared object file generation
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
sh-elf-vhex/Makefile

27 lines
739 B

VERSION_BINUTILS := 2.38
VERSION_GCC := 11.3.0
ifeq ($(VXSDK_PREFIX_INSTALL),)
$(error you need to use the vxSDK to compile this package)
endif
configure:
@ cd ./scripts/binutils \
&& ./configure.sh --version="$(VERSION_BINUTILS)" \
&& cd ../gcc && ./configure.sh --version="$(VERSION_GCC)"
build:
@ cd ./scripts/binutils && ./build.sh && cd ../gcc && ./build.sh
install:
@ cd ./scripts/binutils \
&& ./install.sh --prefix="$(VXSDK_PREFIX_INSTALL)" \
&& cd ../gcc && ./install.sh --prefix="$(VXSDK_PREFIX_INSTALL)"
uninstall:
@ cd ./scripts/binutils \
&& ./uninstall.sh --prefix="$(VXSDK_PREFIX_INSTALL)" \
&& cd ../gcc && ./uninstall.sh --prefix="$(VXSDK_PREFIX_INSTALL)"
.PHONY: configure build install uninstall