Merge "Clone with --depth 1 in generate_uapi_headers.sh --download-kernel."
This commit is contained in:
commit
0c42fa4956
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ if [[ ${KERNEL_DOWNLOAD} -eq 1 ]]; then
|
|||
TMPDIR=$(mktemp -d /tmp/android_kernelXXXXXXXX)
|
||||
cd "${TMPDIR}"
|
||||
echo "Fetching android linux kernel source..."
|
||||
git clone ${ANDROID_KERNEL_REPO} -b ${ANDROID_KERNEL_BRANCH}
|
||||
git clone ${ANDROID_KERNEL_REPO} -b ${ANDROID_KERNEL_BRANCH} --depth=1
|
||||
cd common
|
||||
KERNEL_DIR="${TMPDIR}/common"
|
||||
elif [[ "${KERNEL_DIR}" == "" ]]; then
|
||||
|
|
Loading…
Reference in a new issue