Skip to content

Commit

Permalink
Disable ftrace on arm32
Browse files Browse the repository at this point in the history
This is required to link the ARM kernel. For details see
ClangBuiltLinux/linux#35.

Signed-off-by: Joel Stanley <joel@jms.id.au>
  • Loading branch information
shenki committed Dec 14, 2018
1 parent afb886d commit 469d7f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions driver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ build_linux() {
[[ $ARCH != "x86_64" ]] && cat ../configs/tt.config >> .config
# Enable KASLR for arm64 as it's not yet part of the defconfig
[[ $ARCH == "arm64" ]] && cat ../configs/kaslr.config >> .config
# Disable ftrace on arm32: https://github.com/ClangBuiltLinux/linux/issues/35
[[ $ARCH == "arm" ]] && ./scripts/config -d CONFIG_FTRACE
fi
# Make sure we build with CONFIG_DEBUG_SECTION_MISMATCH so that the
# full warning gets printed and we can file and fix it properly.
Expand Down

0 comments on commit 469d7f5

Please sign in to comment.