summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2012-07-20 11:19:24 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-22 11:42:23 +0100
commitbeef126fd2a5c897f4a18255098042f8df973c47 (patch)
treeeca5003a780f369b363e31765ab61b7a944b9c62 /meta/recipes-kernel/linux
parent7d93e9844151499763437f5534de30f289a41791 (diff)
downloadpoky-beef126fd2a5c897f4a18255098042f8df973c47.tar.gz
kernel-yocto.bbclass: Delete superfluous creation of ${S}/.git directory
In do_kernel_checkout(), replace the creation of ${S}/.git with just the creation of ${S} since the .git subdirectory is created only a few lines later using a "mv". Here's the original code: rm -rf ${S} mkdir -p ${S}/.git echo "WARNING. ${WORKDIR}/git is not a bare clone." echo "Ensure that the SRC_URI includes the 'bareclone=1' option." # we can fix up the kernel repository, but at the least the meta # branch must be present. The machine branch may be created later. mv ${WORKDIR}/git/.git ${S} <-- See? There it is. There's no functional change here, it's just less confusing. (From OE-Core rev: f0d318177096a7a1c7406642663ae4ce28010d12) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/linux')
0 files changed, 0 insertions, 0 deletions