fix runtime issues for scripts
now, some script to update kernel-headers is not working. because of wrong variable value and test codes. so this issue is fixed. Change-Id: Iffae9607858cc3c1c58fa24244be217b5a1ab06e
This commit is contained in:
@@ -159,7 +159,7 @@ if [[ ${KERNEL_DOWNLOAD} -eq 1 ]]; then
|
||||
cd "${TMPDIR}"
|
||||
echo "Fetching android kernel source ${KERNEL_VERSION}"
|
||||
git clone https://android.googlesource.com/kernel/common.git
|
||||
cd "${COMMON}"
|
||||
cd "${src_dir}"
|
||||
git checkout "${KERNEL_VERSION}"
|
||||
KERNEL_DIR="${TMPDIR}"
|
||||
elif [[ "${KERNEL_DIR}" == "" ]]; then
|
||||
@@ -180,6 +180,8 @@ if [[ ${SKIP_GENERATION} -eq 0 ]]; then
|
||||
done
|
||||
fi
|
||||
|
||||
cd ${ANDROID_BUILD_TOP}
|
||||
|
||||
# Copy all of the include/uapi files to the kernel headers uapi directory.
|
||||
copy_hdrs "${KERNEL_DIR}/${src_dir}/include/uapi" "${ANDROID_KERNEL_DIR}/uapi"
|
||||
|
||||
|
Reference in New Issue
Block a user