add vxsdk support

This commit is contained in:
Yann MAGNIN 2021-12-09 10:19:22 +01:00
parent 5504805f1b
commit f12ba2de85
2 changed files with 17 additions and 2 deletions

View File

@ -1,10 +1,15 @@
# giteapc: version=1
PREFIX ?= $(GITEAPC_PREFIX)
VERSION_BINUTILS := 2.37
VERSION_GCC := 11.2.0
-include giteapc-config.make
# Try to find if the file is involved by giteapc or vxsdk
ifeq ($(GITEAPC_PREFIX),)
PREFIX ?= $(VXSDK_PREFIX)
endif
ifeq ($(VXSDK_PREFIX),)
PREFIX ?= $(GITEAPC_PREFIX)
endif
configure:
@ cd ./scripts/binutils && ./configure.sh --version=$(VERSION_BINUTILS)

10
vxsdk.toml Normal file
View File

@ -0,0 +1,10 @@
[package]
name = 'sh-elf-vhex'
version = '1.0.0'
type = 'custom'
[[build]]
custom.configure = 'make -f giteapc.make configure'
custom.build = 'make -f giteapc.make build'
custom.install = 'make -f giteapc.make install'
custom.uninstall = 'make -f giteapc.make uninstall'