aboutsummaryrefslogtreecommitdiffstats
path: root/packages/grub
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-03-28 10:00:09 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-03-28 10:00:09 +0000
commit68a72241d56b3daec21f780235d34a84efb06b0b (patch)
tree8167dbad433c2f1e6df2741263b30512b96880a2 /packages/grub
parentf44b81361e71d294d29872f8e373eb68174f7805 (diff)
downloadopenembedded-68a72241d56b3daec21f780235d34a84efb06b0b.tar.gz
grub: substitute the anonymous python function w/ COMPATIBLE_HOST
Diffstat (limited to 'packages/grub')
-rw-r--r--packages/grub/grub_0.93.bb10
1 files changed, 3 insertions, 7 deletions
diff --git a/packages/grub/grub_0.93.bb b/packages/grub/grub_0.93.bb
index d67247ccff..8341184476 100644
--- a/packages/grub/grub_0.93.bb
+++ b/packages/grub/grub_0.93.bb
@@ -1,5 +1,6 @@
+DESCRIPTION = "GRUB is the GRand Unified Bootloader"
SECTION = "base"
-DESCRIPTION = "grand unified bootloader"
+HOMEPAGE = "http://www.gnu.org/software/grub"
SRC_URI = "ftp://alpha.gnu.org/gnu/grub/grub-${PV}.tar.gz; \
file://autohell.patch;patch=1 \
@@ -10,9 +11,4 @@ S = "${WORKDIR}/grub-${PV}"
inherit autotools
-python __anonymous () {
- import re
- host = bb.data.getVar('HOST_SYS', d, 1)
- if not re.match('i.86.*-linux', host):
- raise bb.parse.SkipPackage("incompatible with host %s" % host)
-}
+COMPATIBLE_HOST = 'i.86.*-linux'