]> code.ossystems Code Review - openembedded-core.git/commit
kernel.bbclass: Remove bashism
authorKhem Raj <raj.khem@gmail.com>
Fri, 12 Dec 2014 20:47:43 +0000 (12:47 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 19 Dec 2014 17:54:13 +0000 (17:54 +0000)
commit6956ffdc6e9879e32360b6ee3a3d286618807485
tree950ca4b126ea207425f8f619c3bb57abe37883f0
parent3505558e067fdde4ab7aaaf3c50886f292d7c166
kernel.bbclass: Remove bashism

Fixes build on systems using dash for default shell e.g.

errors like

run.do_strip.25842: [[: not found
| readelf: Error: Unable to read in 0x37 bytes of section headers
| readelf: Error: Not an ELF file - it has the wrong magic bytes at the start

Change-Id: I29cac15be44a02d75a3d6889b6ae9b2e19bf46af
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/kernel.bbclass