From b9ef67fbba706029d9c61ff858f8e05fa42d61ad Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Thu, 10 Nov 2011 02:01:00 -0600 Subject: gbuild: target platform is identified by the triplet OS/CPU/COMPILER That simplify the dispatching in gbuild.mk and gbuild_simple.mk and it will be use as a base to factorize common stuff based on OS and Compiler. --- solenv/gbuild/platform/LINUX_GODSON_GCC.mk | 37 ++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 solenv/gbuild/platform/LINUX_GODSON_GCC.mk (limited to 'solenv/gbuild/platform/LINUX_GODSON_GCC.mk') diff --git a/solenv/gbuild/platform/LINUX_GODSON_GCC.mk b/solenv/gbuild/platform/LINUX_GODSON_GCC.mk new file mode 100644 index 000000000000..2bf9cf7618d4 --- /dev/null +++ b/solenv/gbuild/platform/LINUX_GODSON_GCC.mk @@ -0,0 +1,37 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +#************************************************************************* +# +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Initial Developer of the Original Code is +# Caolán McNamara (Red Hat, Inc.) +# Portions created by the Initial Developer are Copyright (C) 2010 the +# Initial Developer. All Rights Reserved. +# +# Contributor(s): Caolán McNamara +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. +# +#************************************************************************* + +#please make generic modifications to unxgcc.mk or linux.mk +gb_CPUDEFS += -DMIPS +gb_COMPILERDEFAULTOPTFLAGS := -Os + +include $(GBUILDDIR)/platform/linux.mk + +# vim: set noet sw=4: -- cgit v1.2.3