summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-06-17 17:13:07 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-18 13:24:58 +0100
commitbbd25aa3f20fa28fe7c461d5af15b9b2ad499495 (patch)
treecdf16596b4b1df7ba67a9f8cb3d0f5c0ed38d56f /meta/recipes-extended
parent6b93b86d5233dcbf69b4a714e7f48dfa985bbbe4 (diff)
downloadpoky-bbd25aa3f20fa28fe7c461d5af15b9b2ad499495.tar.gz
mdadm: Don't depend on ansidecl.h header
We don't DEPEND on binutils for ansidecl.h so ensure we should never use the header. This makes builds determinstic and means something like: bitbake binutils bitbake mdadm -c compile bitbake binutils -c clean bitbake libxml2 doen't fail to build. (From OE-Core rev: 5b51872ec4c2400ae60f434478f04e9aca3ccb7d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/mdadm/mdadm_3.2.5.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-extended/mdadm/mdadm_3.2.5.bb b/meta/recipes-extended/mdadm/mdadm_3.2.5.bb
index 2d7e1d036f..61846f4d77 100644
--- a/meta/recipes-extended/mdadm/mdadm_3.2.5.bb
+++ b/meta/recipes-extended/mdadm/mdadm_3.2.5.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
8 file://mdmon.c;beginline=4;endline=18;md5=af7d8444d9c4d3e5c7caac0d9d34039d \ 8 file://mdmon.c;beginline=4;endline=18;md5=af7d8444d9c4d3e5c7caac0d9d34039d \
9 file://mdadm.h;beglinlne=4;endline=22;md5=462bc9936ac0d3da110191a3f9994161" 9 file://mdadm.h;beglinlne=4;endline=22;md5=462bc9936ac0d3da110191a3f9994161"
10 10
11PR = "r0" 11PR = "r1"
12 12
13SRC_URI = "${KERNELORG_MIRROR}/linux/utils/raid/mdadm/${BPN}-${PV}.tar.bz2 \ 13SRC_URI = "${KERNELORG_MIRROR}/linux/utils/raid/mdadm/${BPN}-${PV}.tar.bz2 \
14 file://mdadm-3.2.2_fix_for_x32.patch \ 14 file://mdadm-3.2.2_fix_for_x32.patch \
@@ -21,6 +21,11 @@ CFLAGS += "-fno-strict-aliasing"
21 21
22inherit autotools 22inherit autotools
23 23
24# We don't DEPEND on binutils for ansidecl.h so ensure we don't use the header
25do_configure_prepend () {
26 sed -i -e '/.*ansidecl.h.*/d' ${S}/sha1.h
27}
28
24do_compile() { 29do_compile() {
25 oe_runmake 30 oe_runmake
26} 31}