diff --git a/kernel-modules/build/prepare-src b/kernel-modules/build/prepare-src index f1128662e0..847fe1f51f 100755 --- a/kernel-modules/build/prepare-src +++ b/kernel-modules/build/prepare-src @@ -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