diff --git a/tools/testing/android/bin/kselftest.sh b/tools/testing/android/bin/kselftest.sh index a426a9e90413..4445daebe2f0 100755 --- a/tools/testing/android/bin/kselftest.sh +++ b/tools/testing/android/bin/kselftest.sh @@ -139,7 +139,7 @@ if $BUILD_KERNEL; then echo "Building kernel..." # TODO: add support to build kernel for physical device $BAZEL run $BUILD_FLAGS //common-modules/virtual-device:virtual_device_x86_64_dist -- \ - --dist_dir=$DIST_DIR + --destdir=$DIST_DIR exit_code=$? if [ $exit_code -eq 0 ]; then echo "Build kernel succeeded" diff --git a/tools/testing/android/bin/kunit.sh b/tools/testing/android/bin/kunit.sh index 6e8592cc3a73..b043da68bea2 100755 --- a/tools/testing/android/bin/kunit.sh +++ b/tools/testing/android/bin/kunit.sh @@ -141,7 +141,7 @@ if $BUILD_KERNEL; then echo "Building kernel..." # TODO: add support to build kernel for physical device $BAZEL run $BUILD_FLAGS //common-modules/virtual-device:virtual_device_x86_64_dist -- \ - --dist_dir=$DIST_DIR + --destdir=$DIST_DIR exit_code=$? if [ $exit_code -eq 0 ]; then echo "Command succeeded"