KWSys 2012-12-21 (8ce09af5)
Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ 8ce09af5 | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' 933eb822..8ce09af5 Riku Voipio (1): 8ce09af5 CPU: Add Aarch64 support Change-Id: I4bd0a97abaa0f958e2679afe2d4ad4bcc37434a0
This commit is contained in:
parent
a0f91f1daa
commit
567e7d9467
8
CPU.h.in
8
CPU.h.in
|
@ -98,6 +98,14 @@
|
||||||
#elif defined(__SYSC_ZARCH__)
|
#elif defined(__SYSC_ZARCH__)
|
||||||
# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_BIG
|
# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_BIG
|
||||||
|
|
||||||
|
/* Aarch64 */
|
||||||
|
#elif defined(__aarch64__)
|
||||||
|
# if !defined(__AARCH64EB__)
|
||||||
|
# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_LITTLE
|
||||||
|
# else
|
||||||
|
# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_BIG
|
||||||
|
# endif
|
||||||
|
|
||||||
/* Unknown CPU */
|
/* Unknown CPU */
|
||||||
#else
|
#else
|
||||||
# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID 0
|
# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID 0
|
||||||
|
|
Loading…
Reference in New Issue