Added missing properties.
[AROS.git] / workbench / devs / networks / atheros5000 / hal / public / xscale-le-elf.inc
blob4e23bbf124f398af5a64f8dc3894bb3c24cd9c8a
2 # Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
3 # Copyright (c) 2002-2008 Atheros Communications, Inc.
5 # Permission to use, copy, modify, and/or distribute this software for any
6 # purpose with or without fee is hereby granted, provided that the above
7 # copyright notice and this permission notice appear in all copies.
9 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 # $Id$
21 # Compilation configuration for building little-endian XScale/arm-elf.
23 # NB: built with AH_REGOPS_FUNC to so that register accesses
24 #     can be done using the Linux readl/writel functions on
25 #     systems that need it.
27 # Reported to work on:
28 #       Compulab's ARMBASE using ARMCORE GX
29 #               (http://www.compulab.co.il/armbase.htm)
33 # Built with GNU cross-devel tools:
35 # PREFIX=/pub/gnu
36 # BINUTILS=binutils-2.14
37 # GCC=gcc-3.3.2
38 # target=arm-elf
40 # ${BINUTILS}/configure --target=$target --prefix=${PREFIX}
41 # ${GCC}/configure --target=$target   --prefix=${PREFIX} \
42 #       --enable-languages=c   --with-gnu-as --with-gnu-ld \
43 #       --with-newlib   --with-gxx-include-dir=${PREFIX}/$target/include
45 ifndef TOOLPREFIX
46 TOOLPREFIX=     /pub/gnu/bin/arm-elf-
47 endif
49 CC=     ${TOOLPREFIX}gcc
50 LD=     ${TOOLPREFIX}ld
51 STRIP=  ${TOOLPREFIX}strip
52 OBJCOPY=${TOOLPREFIX}objcopy
53 NM=     ${TOOLPREFIX}nm
56 # Force register read/write operations to go through a function.
58 AH_REGOPS_FUNC=1
60 LDOPTS= -EL
61 COPTS+= -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN
62 COPTS+= -march=armv4 -mlittle-endian -fno-strict-aliasing -fno-common \
63         -mapcs-32 -mtune=xscale  -mshort-load-bytes