git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f76fe0
)
throw SkipPackage on non-x86 hosts - patch courtesy pb_.
author
Michael Lauer
<mickey@vanille-media.de>
Fri, 23 Apr 2004 21:27:05 +0000
(21:27 +0000)
committer
Michael Lauer
<mickey@vanille-media.de>
Fri, 23 Apr 2004 21:27:05 +0000
(21:27 +0000)
BKrev: 40898a29mgUSMayt1AH-4PawSi5eyA
grub/grub_0.93.oe
patch
|
blob
|
history
diff --git
a/grub/grub_0.93.oe
b/grub/grub_0.93.oe
index
d664205
..
803e487
100644
(file)
--- 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)
+}