Skip to content

Commit 37192eb

Browse files
committed
Disable ftrace on arm32
This is required to link the ARM kernel. For details see ClangBuiltLinux/linux#35. Signed-off-by: Joel Stanley <[email protected]>
1 parent 3151fc5 commit 37192eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

driver.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ build_linux() {
171171
[[ $ARCH != "x86_64" ]] && cat ../configs/tt.config >> .config
172172
# Enable KASLR for arm64 as it's not yet part of the defconfig
173173
[[ $ARCH == "arm64" ]] && cat ../configs/kaslr.config >> .config
174+
# Disable ftrace on arm32: https://github.com/ClangBuiltLinux/linux/issues/35
175+
[[ $ARCH == "arm" ]] && ./scripts/config -d CONFIG_FTRACE
174176
fi
175177
# Make sure we build with CONFIG_DEBUG_SECTION_MISMATCH so that the
176178
# full warning gets printed and we can file and fix it properly.

0 commit comments

Comments
 (0)