Home | History | Annotate | Download | only in tools

Lines Matching full:src_dir

59   local src_dir=$1
68 for file in $(ls -d ${src_dir}/* 2> /dev/null); do
85 local src_dir=$2
91 for file in $(ls -d ${src_dir}/* 2> /dev/null); do
103 local src_dir=$1
110 for file in $(ls -d ${src_dir}/* 2> /dev/null); do
181 src_dir="linux-stable"
183 src_dir="common"
191 cd "${src_dir}"
197 elif [[ ! -d "${KERNEL_DIR}" ]] || [[ ! -d "${KERNEL_DIR}/${src_dir}" ]]; then
198 echo "The kernel directory $KERNEL_DIR or $KERNEL_DIR/${src_dir} does not exist."
201 cd "${KERNEL_DIR}/${src_dir}"
215 copy_hdrs "${KERNEL_DIR}/${src_dir}/include/uapi" "${ANDROID_KERNEL_DIR}/uapi"
218 copy_hdrs "${KERNEL_DIR}/${src_dir}/drivers/staging/android/uapi" \
222 copy_hdrs "${KERNEL_DIR}/${src_dir}/include/generated/uapi" \
227 copy_hdrs "${KERNEL_DIR}/${src_dir}/arch/${arch}/include/uapi" \
230 copy_hdrs "${KERNEL_DIR}/${src_dir}/arch/${arch}/include/generated/uapi" \
235 copy_if_exists "${KERNEL_DIR}/${src_dir}/include/uapi/asm-generic" \
236 "${KERNEL_DIR}/${src_dir}/arch/${arch}/include/generated/asm" \
241 check_hdrs "${KERNEL_DIR}/${src_dir}/include/scsi" \
243 "${KERNEL_DIR}/${src_dir}"