config/arch/s390.in
author Yann Diorcet <diorcet.yann@gmail.com>
Fri Nov 16 15:25:57 2012 +0100 (2012-11-16)
changeset 3119 1c56c03b7ed5
parent 2444 896cb0d36c1a
child 3150 1d6fd9bde73c
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
harold@1629
     1
# s390 specific config options
harold@1629
     2
yann@2444
     3
## depends on EXPERIMENTAL
yann@2444
     4
##
yann@2444
     5
## select ARCH_SUPPORTS_32
yann@2444
     6
## select ARCH_SUPPORTS_64
yann@2444
     7
## select ARCH_DEFAULT_32
yann@2444
     8
## select ARCH_USE_MMU
yann@2788
     9
## select ARCH_SUPPORTS_WITH_FPU
yann@2444
    10
##
yann@2444
    11
## help Defined by IBM in:
yann@2444
    12
## help     32-bit ESA/390       : http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/dz9ar008/CCONTENTS
yann@2444
    13
## help     64-bit z/Architecure : http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/dz9zr002/CCONTENTS