diff options
| author | Saul Wold <sgw@linux.intel.com> | 2011-12-01 15:32:52 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-02 15:20:27 +0000 |
| commit | b5734ca527b4ed3e557970cb44f7a0112a950b6b (patch) | |
| tree | 43fc3bc35f2b7953acc87d6fb1dec1ae5a829b16 | |
| parent | 8885163a351d4ea4bcd36c0539f48e0f996020fd (diff) | |
| download | poky-b5734ca527b4ed3e557970cb44f7a0112a950b6b.tar.gz | |
kernel-yocto: fix extra CR in do_kernel_checkout
(From OE-Core rev: 405ac5f5e8604dec087c7d87056c8c7f85739a41)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -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} |
