kernel: use globbing to find the kernel image

Currently we use file to find the 'image' type for the build kernel.
However this support only works for i386 nothing else.  Luckily, we
know exactly where the image is, its in arch/*/boot/<image>.  So use
file globbing to find it so we do not need to know its architecture.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@351 592f7852-d20e-0410-864c-8624ca9c26a4
1 file changed
tree: ebd72edf7de63b955b2bc2c8a956dba4f88a43d4
  1. bin/
  2. deps/
  3. mirror/
  4. profilers/
  5. samples/
  6. tests/
  7. tko/
  8. tools/
  9. ui/
  10. DCO
  11. LICENSE