summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/kernel-yocto.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 70521a4fb3..9ca7758bb8 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -89,11 +89,11 @@ do_patch() {
89} 89}
90 90
91do_kernel_checkout() { 91do_kernel_checkout() {
92 if [ -d ${WORKDIR}/.git/refs/remotes/origin ]; then 92 if [ -d ${WORKDIR}/git/.git/refs/remotes/origin ]; then
93 echo "Fixing up git directory for ${LINUX_KERNEL_TYPE}/${KMACHINE}" 93 echo "Fixing up git directory for ${LINUX_KERNEL_TYPE}/${KMACHINE}"
94 rm -rf ${S} 94 rm -rf ${S}
95 mkdir ${S} 95 mkdir ${S}
96 mv ${WORKDIR}/.git ${S} 96 mv ${WORKDIR}/git/.git ${S}
97 97
98 if [ -e ${S}/.git/packed-refs ]; then 98 if [ -e ${S}/.git/packed-refs ]; then
99 cd ${S} 99 cd ${S}