Skip to content

Commit

Permalink
Dont forget ppc64le exists
Browse files Browse the repository at this point in the history
  • Loading branch information
Stringy committed May 22, 2024
1 parent ad8f9ae commit 951b4ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel-modules/build/prepare-src
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ cp -r "${DRIVER_DIR}/." "${DRIVER_SCRATCH}"
module_version="$(get_module_version .)"
echo "$module_version"

if (($(compare_version "$module_version" "2.10.0") >= 1)); then
if (($(compare_version "$module_version" "2.10.0") >= 1)) && [[ "$(uname -m)" != "ppc64le" ]]; then
# Dont build drivers for versions 2.10 or newer
echo "Not building drivers for module version $module_version"
echo "Not building drivers for module version $module_version on $(uname -m)"
exit 0
fi

Expand Down

0 comments on commit 951b4ef

Please sign in to comment.