• Ben Avison's avatar
    Added a new Makefile fragment · 23e9df41
    Ben Avison authored
    Detail:
      This is useful for building tools during the course of a main build where
      the build host is of an incompatible architecture to the target - for example
      building an Iyonix ROM on a Risc PC or an architecture-tuned Beagleboard ROM
      on an Iyonix.  For now it relies on re-using the target architecture versions
      of CApp and other makefile fragments so it's not suitable for cross-
      compilation yet (in other words, the host system is still assumed to be a
      RISC OS machine).
    Admin:
      Tested by building an APCS-R target on an Iyonix (with a few tweaks - we
      can't link with the APCS-R stubs on an Iyonix, but the stubs should be
      architecture-invariant within the same calling standard so this isn't a
      real problem).
    
    Version 4.75. Tagged as 'BuildSys-4_75'
    23e9df41
HostTools 1.14 KB
# Copyright 2009 Castle Technology Ltd
#
# Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Makefile fragment for C applications that run on the build host but which
# are built during the main build
#
#
# These are the tool definitions for RISC OS hosted builds.
#
#

#
# Tool definitions.
#
CC              = %cc -apcs 3/32bit/fpe3 -cpu 3 -memaccess -L22-S22-L41
DO              = do
ECHO            = echo
LD              = link
MAKE            = amu
MKDIR           = ${DO} mkdir -p
SQZ             = squeeze
TOUCH           = create

#
# Options.
#
STDTOOLOPTIONS = -depend !Depend ${THROWBACK}

CFLAGS +=  -c ${STDTOOLOPTIONS} ${CDEFINES} ${CINCLUDES}


# EOF