config/arch/sparc.in
author Yann Diorcet <diorcet.yann@gmail.com>
Fri Nov 16 15:25:57 2012 +0100 (2012-11-16)
changeset 3119 1c56c03b7ed5
parent 2788 b6faa28e76e0
permissions -rw-r--r--
scripts: add BUILD/HOST extra cflags/ldflags

On some hosts, and for certain toolchains (eg. toolchain targetting
the upcoming Darwin), it may be necessary to pass arbitrary CFLAGS
and/or LDFLAGS when building the components.

And necessary infrastructure:
- EXTRA_{CFLAGS,LDFLAGS}_FOR_{BUILD,HOST} as config options
- pass those extra flags to components

Fix-up a slight typo in elf2flt at the same time (misnamed cflags).

Signed-off-by: Yann Diorcet <diorcet.yann@gmail.com>
Message-Id: <d24043276c9243a35421.1353077450@macbook-smorlat.local>
Patchwork-Id: 199645
sam@2371
     1
# SPARC specific config options
sam@2371
     2
yann@2444
     3
## select ARCH_SUPPORTS_32
yann@2444
     4
## select ARCH_SUPPORTS_64
yann@2444
     5
## select ARCH_DEFAULT_32
yann@2444
     6
## select ARCH_USE_MMU
yann@2788
     7
## select ARCH_SUPPORTS_WITH_CPU
yann@2788
     8
## select ARCH_SUPPORTS_WITH_TUNE
yann@2793
     9
## select ARCH_SUPPORTS_WITH_FLOAT
yann@2444
    10
##
yann@2444
    11
## help The SUN SPARC architecture, as defined by:
yann@2444
    12
## help     32 bit: http://www.sparc.org/standards/V8.pdf
yann@2444
    13
## help     64 bit: http://www.sparc.org/standards/SPARCV9.pdf