Mark the cortex-{a7,a53,a53.57} chips as supporting LPAE am: 8e1e3fb

am: 1d308c7

* commit '1d308c7737ecf990773f5bba91be8e3f7064d371':
  Mark the cortex-{a7,a53,a53.57} chips as supporting LPAE

Change-Id: Ice9e6fa0985f5d37973221e09390de2fe618ae29
This commit is contained in:
Dan Willemsen
2016-03-30 00:46:13 +00:00
committed by android-build-merger

View File

@@ -106,6 +106,11 @@ var (
armCpuVariantCflags = map[string][]string{
"cortex-a7": []string{
"-mcpu=cortex-a7",
// Fake an ARM compiler flag as these processors support LPAE which GCC/clang
// don't advertise.
// TODO This is a hack and we need to add it for each processor that supports LPAE until some
// better solution comes around. See Bug 27340895
"-D__ARM_FEATURE_LPAE=1",
},
"cortex-a8": []string{
"-mcpu=cortex-a8",
@@ -114,6 +119,8 @@ var (
"-mcpu=cortex-a15",
// Fake an ARM compiler flag as these processors support LPAE which GCC/clang
// don't advertise.
// TODO This is a hack and we need to add it for each processor that supports LPAE until some
// better solution comes around. See Bug 27340895
"-D__ARM_FEATURE_LPAE=1",
},
}