diff options
Diffstat (limited to 'meta/classes/kernel-yocto.bbclass')
-rw-r--r-- | meta/classes/kernel-yocto.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass index ad14aacd7e..79f82e3513 100644 --- a/meta/classes/kernel-yocto.bbclass +++ b/meta/classes/kernel-yocto.bbclass | |||
@@ -53,8 +53,7 @@ do_patch() { | |||
53 | } | 53 | } |
54 | 54 | ||
55 | do_kernel_checkout() { | 55 | do_kernel_checkout() { |
56 | if [ -d $ | 56 | if [ -d ${WORKDIR}/git/.git/refs/remotes/origin ]; then |
57 | {WORKDIR}/git/.git/refs/remotes/origin ]; then | ||
58 | echo "Fixing up git directory for ${LINUX_KERNEL_TYPE}/${KMACHINE}" | 57 | echo "Fixing up git directory for ${LINUX_KERNEL_TYPE}/${KMACHINE}" |
59 | rm -rf ${S} | 58 | rm -rf ${S} |
60 | mkdir ${S} | 59 | mkdir ${S} |