build/prefetch: always clear kernel, but allow kernel-dbg download

This commit is contained in:
Franco Fichtner 2017-08-17 10:16:26 +02:00
parent 8b2469f596
commit fc0ad4d26c
1 changed files with 2 additions and 2 deletions

View File

@ -43,8 +43,8 @@ for ARG in ${@}; do
fetch -o ${SETSDIR} ${URL}.${SUFFIX} || true
done
;;
kernel)
sh ./clean.sh ${ARG}
kernel|kernel-dbg)
sh ./clean.sh kernel
URL="${PRODUCT_MIRROR}/${ABI}/sets/${ARG}-${PRODUCT_VERSION}-${PRODUCT_ARCH}"
for SUFFIX in txz.sig txz; do
fetch -o ${SETSDIR} ${URL}.${SUFFIX} || true