diff options
Diffstat (limited to 'grub')
-rw-r--r-- | grub/grub_0.93.oe | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/grub/grub_0.93.oe b/grub/grub_0.93.oe index d664205c02..803e487055 100644 --- a/grub/grub_0.93.oe +++ b/grub/grub_0.93.oe @@ -9,3 +9,10 @@ SRC_URI = "ftp://alpha.gnu.org/gnu/grub/grub-${PV}.tar.gz; \ S = "${WORKDIR}/grub-${PV}" inherit autotools + +python __anonymous () { + import re + host = oe.data.getVar('HOST_SYS', d, 1) + if not re.match('i.86.*-linux', host): + raise oe.parse.SkipPackage("incompatible with host %s" % host) +} |