]> git.baikalelectronics.ru Git - kernel.git/commit
s390: allow to set gcc -mtune flag
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 30 Oct 2013 11:12:50 +0000 (12:12 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 31 Oct 2013 08:54:01 +0000 (09:54 +0100)
commit79a09b147ae55db9cf930747098db43adb437ae4
tree511995f3ff6a9577b8a93a6eb2192febe8a8f353
parentf08756bccd2562b4d74f622dc8583055f6d54674
s390: allow to set gcc -mtune flag

Add a new Kconfig choice group which allows to configure how gcc should
tune the generated code (via -mtune option).
By default the -mtune parameter will match the -march parameter.

This is a rather large patch, but I wouldn't know how to make this shorter
unfortunately.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/Kconfig
arch/s390/Makefile