linux-bug: fix installation
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Sat, 16 Oct 2010 17:17:07 +0000 (19:17 +0200)
committerDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Sun, 17 Oct 2010 19:37:56 +0000 (21:37 +0200)
commit0fc54bae7b8f6546b64356fa798b0a0deabf979d
treeb9d014c2d3e8ec38ecf291de45e409fa1f2ab24a
parent2d9d8d68c65491a5aa55b6bdb53f192838912f43
linux-bug: fix installation

without the fix it does that:
| cp: target `.../work/bug-angstrom-linux-gnueabi/linux-bug-2.6.27.2+svnr10746-r32/image/kernel//include/asm/' is not a directory
NOTE: package linux-bug-2.6.27.2+svnr10746-r32: task do_install: Failed

Thanks to eFfeM on #oe for help:
<eFfeM> you copy to $kerneldir/include/asm but that is not guaranteed to exist, ust add an install -d (install -d is better than mkdir as it will also create inbetween dirs if needed)
[...]
<eFfeM> just add the install

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
recipes/linux/linux-bug_2.6.27.2.bb