just copy and bevore delete but dont delete after so the sablink dir will stay in source tree

This commit is contained in:
Mario Fetka 2012-10-30 08:04:52 +01:00
parent 670cd81231
commit a1a532d64d
1 changed files with 1 additions and 1 deletions

View File

@ -422,12 +422,12 @@ _kernel_copy_config() {
cp "${FILESDIR}/${PF/-r0/}-${ARCH}.config" "${1}" || die "cannot copy kernel config"
else
if [ -n "${K_NASCONFIGS_VER}" ]; then
rm -rf "${S}/sablink"
cp -rf "${WORKDIR}"/sablink "${S}"
pushd "${S}"
sablink/scripts/prepareconfig ${K_NASKERNEL_NAME}-${CHOST/-*/}
mv .config "${1}.tmp"
mv "${1}.tmp" "${1}"
rm -rf "${S}/sablink"
popd
else
cp "${DISTDIR}/${K_NASKERNEL_CONFIG_FILE}" "${1}" || die "cannot copy kernel config"