We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b18d43 commit 8e7c87aCopy full SHA for 8e7c87a
src/trusted/cpu_features/CMakeLists.txt
@@ -1,13 +1,15 @@
1
-list(APPEND CPU_FEATURES_INPUTS
2
- "arch/arm/cpu_arm.c"
3
- "arch/mips/cpu_mips.c"
4
-)
5
-
6
if (ARCH STREQUAL "i686" OR ARCH STREQUAL "amd64")
7
list(APPEND CPU_FEATURES_INPUTS
8
"arch/x86/cpu_x86.c"
9
"arch/x86/cpu_xgetbv.S"
10
)
+elseif (ARCH STREQUAL "armhf")
+ # For unkown reasons src/trusted/cpu_features/build.scons was building them on every architecture.
+ list(APPEND CPU_FEATURES_INPUTS
+ "arch/arm/cpu_arm.c"
+ "arch/mips/cpu_mips.c"
11
+ )
12
endif()
13
14
+
15
add_library(cpu_features STATIC ${CPU_FEATURES_INPUTS})
0 commit comments