classes/insane.bbclass: Add a small elf reader and check ABI,ARCH and Endian
authorHolger Freyther <zecke@selfish.org>
Sun, 18 Feb 2007 23:12:19 +0000 (23:12 +0000)
committerHolger Freyther <zecke@selfish.org>
Sun, 18 Feb 2007 23:12:19 +0000 (23:12 +0000)
commit4f9f17b0409566ed1f09f95341442d8554449c21
treedc4a48390078322bc1a5a11fbb3981704f4d076f
parent80ed16db761962e949ef21ec10a9bc199c56cb61
classes/insane.bbclass: Add a small elf reader and check ABI,ARCH and Endian
Add a small ELF parser and read OSABI, ABIVERSION, ENDIAN and MACHINE. This
code compares TARGET_OS and TARGET_ARCH to a list of known versions. Currently
we have values for linux and linux-uclibc for arm, armeb and powerpc. mips,
i386, amd64, ia64 are missing. ABI wise ARM EABI is missing as well, but koen
is likely to enter the values into the documented dict
classes/insane.bbclass