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 29, 2018
1 parent 8e18684 commit 124ca02
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 @@ -168,6 +168,8 @@ build_linux() {
cat ../configs/common.config >> .config
# Some torture test configs cause issues on x86_64
[[ $ARCH != "x86_64" ]] && cat ../configs/tt.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 124ca02

Please sign in to comment.