diff --git a/make/target/toolchain/gcc/4.9/defs.flags b/make/target/toolchain/gcc/4.9/defs.flags new file mode 100644 index 00000000000..d7f340d62be --- /dev/null +++ b/make/target/toolchain/gcc/4.9/defs.flags @@ -0,0 +1,34 @@ +# defs.flags - build system + +# Copyright (c) 2015 Intel Corporation. + +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1) Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2) Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# 3) Neither the name of Wind River Systems nor the names of its contributors +# may be used to endorse or promote products derived from this software without +# specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. + +iGCC_4.9_CFLAGS = +iGCC_4.9_ASMFLAGS = +iGCC_4.9_LFLAGS = --build-id=none -rpath-link,$(iGCC_LIBGCC_DIR) +iGCC_4.9_ARFLAGS = diff --git a/make/target/toolchain/gcc/4.9/rules.gcc b/make/target/toolchain/gcc/4.9/rules.gcc new file mode 100644 index 00000000000..e678a9c665a --- /dev/null +++ b/make/target/toolchain/gcc/4.9/rules.gcc @@ -0,0 +1,33 @@ +# rules.gcc - build system + +# +# Copyright (c) 2015 Intel Corporation. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1) Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2) Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# 3) Neither the name of Wind River Systems nor the names of its contributors +# may be used to endorse or promote products derived from this software without +# specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# no GCC4.9-specific rules diff --git a/make/target/toolchain/gcc/arch/x86/defs.exec.variant_yocto b/make/target/toolchain/gcc/arch/x86/defs.exec.variant_yocto new file mode 100644 index 00000000000..b8ed4a86c83 --- /dev/null +++ b/make/target/toolchain/gcc/arch/x86/defs.exec.variant_yocto @@ -0,0 +1,40 @@ +# defs.exec.variant_yocto - build system + +# Copyright (c) 2015 Intel Corporation. + +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1) Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2) Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# 3) Neither the name of Wind River Systems nor the names of its contributors +# may be used to endorse or promote products derived from this software without +# specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. + +iGCC_TARGET ?= i586-poky-elf +vGCC_VER_x86 ?= 4.9 + +iGCC_BIN_DIR ?= $(YOCTO_SDK_INSTALL_DIR)/sysroots/x86_64-pokysdk-linux/usr/bin/ +iGCC_PREFIX ?= $(iGCC_BIN_DIR)/$(iGCC_TARGET)/$(iGCC_TARGET) +iGCC_EXE__USR ?= $(iGCC_PREFIX)-gcc + +iGCC_LIBGCC_DIR ?= $(YOCTO_SDK_INSTALL_DIR)/sysroots/$(iGCC_TARGET)/usr/lib/$(iGCC_TARGET)/4.9.2 +iGCC_LDFLAGS_EX ?= $(iGCC_4.9_LDFLAGS) +iGCC_CCFLAGS_EX ?= $(iGCC_4.9_CFLAGS) diff --git a/make/target/toolchain/gcc/defs.gcc.x86-linux2.variant_yocto b/make/target/toolchain/gcc/defs.gcc.x86-linux2.variant_yocto new file mode 100644 index 00000000000..eb258918b22 --- /dev/null +++ b/make/target/toolchain/gcc/defs.gcc.x86-linux2.variant_yocto @@ -0,0 +1,33 @@ +# defs.gcc.x86-linux2.variant_yocto - build system + +# Copyright (c) 2015 Intel Corporation. + +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1) Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2) Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# 3) Neither the name of Wind River Systems nor the names of its contributors +# may be used to endorse or promote products derived from this software without +# specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. + +iGCC_CUSTOM_DIR_x86 = $(YOCTO_SDK_INSTALL_DIR)/sysroots/x86_64-pokysdk-linux/usr/bin +iGCC_CUSTOM_DIR = $(iGCC_CUSTOM_DIR_x86)/$(iGCC_TARGET) +iTC_AUX_LIB_DIR = $(iGCC_LIBGCC_DIR)