Skip to content

Commit 8e7c87a

Browse files
committed
fixup
1 parent 3b18d43 commit 8e7c87a

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed
Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1-
list(APPEND CPU_FEATURES_INPUTS
2-
"arch/arm/cpu_arm.c"
3-
"arch/mips/cpu_mips.c"
4-
)
5-
61
if (ARCH STREQUAL "i686" OR ARCH STREQUAL "amd64")
72
list(APPEND CPU_FEATURES_INPUTS
83
"arch/x86/cpu_x86.c"
94
"arch/x86/cpu_xgetbv.S"
105
)
6+
elseif (ARCH STREQUAL "armhf")
7+
# For unkown reasons src/trusted/cpu_features/build.scons was building them on every architecture.
8+
list(APPEND CPU_FEATURES_INPUTS
9+
"arch/arm/cpu_arm.c"
10+
"arch/mips/cpu_mips.c"
11+
)
1112
endif()
1213

14+
1315
add_library(cpu_features STATIC ${CPU_FEATURES_INPUTS})

0 commit comments

Comments
 (0)