config/arch/mips.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
yann@628
     1
# MIPS specific config options
yann@628
     2
yann@2444
     3
## select ARCH_SUPPORTS_32
yann@2444
     4
## select ARCH_SUPPORTS_64 if EXPERIMENTAL
yann@2444
     5
## select ARCH_DEFAULT_32
yann@2444
     6
## select ARCH_USE_MMU
yann@2444
     7
## select ARCH_SUPPORTS_BOTH_ENDIAN
yann@2444
     8
## select ARCH_DEFAULT_BE
yann@2788
     9
## select ARCH_SUPPORTS_WITH_ARCH
yann@2788
    10
## select ARCH_SUPPORTS_WITH_TUNE
yann@2791
    11
## select ARCH_SUPPORTS_WITH_FLOAT
yann@2444
    12
##
yann@2444
    13
## help The MIPS architecture, as defined by:
yann@2444
    14
## help     http://www.mips.com/