Add support for TARGET=ZARCH_GENERIC and TARGET=Z13

This commit is contained in:
Sébastien Villemot 2017-09-19 12:16:42 +02:00
parent 601c71fe54
commit 7543e578a4
2 changed files with 25 additions and 0 deletions

View File

@ -85,3 +85,6 @@ VULCAN
THUNDERX
THUNDERX2T99
9.System Z:
ZARCH_GENERIC
Z13

View File

@ -137,6 +137,8 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
/* #define FORCE_ITANIUM2 */
/* #define FORCE_SPARC */
/* #define FORCE_SPARCV7 */
/* #define FORCE_ZARCH_GENERIC */
/* #define FORCE_Z13 */
/* #define FORCE_GENERIC */
#ifdef FORCE_P2
@ -964,6 +966,26 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#else
#endif
#ifdef FORCE_ZARCH_GENERIC
#define FORCE
#define ARCHITECTURE "ZARCH"
#define SUBARCHITECTURE "ZARCH_GENERIC"
#define ARCHCONFIG "-DZARCH_GENERIC " \
"-DDTB_DEFAULT_ENTRIES=64"
#define LIBNAME "zarch_generic"
#define CORENAME "ZARCH_GENERIC"
#endif
#ifdef FORCE_Z13
#define FORCE
#define ARCHITECTURE "ZARCH"
#define SUBARCHITECTURE "Z13"
#define ARCHCONFIG "-DZ13 " \
"-DDTB_DEFAULT_ENTRIES=64"
#define LIBNAME "z13"
#define CORENAME "Z13"
#endif
#ifndef FORCE
#if defined(__powerpc__) || defined(__powerpc) || defined(powerpc) || \