summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/mdadm/mdadm_3.2.2.bb
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2011-12-01 14:54:02 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-12-12 21:50:17 +0000
commitcd044f6adb25005313497c5f47f07ac7d13ac6c8 (patch)
tree1412e112cab1805476717334664d2a4461084c74 /meta/recipes-extended/mdadm/mdadm_3.2.2.bb
parent3c96a5386355969428163ddb60216cc989e00b3d (diff)
downloadpoky-cd044f6adb25005313497c5f47f07ac7d13ac6c8.tar.gz
mdadm: Make custom CC definition conditional
By hardcoding CC's definition in the Makefile, all the gcc parameters set by tune settings are lost. Causing compile failure with x32 toolchain As the bitbake defined CC is good, there is no need to redfine CC in the make file, hence making the CC definition in the Makefile conditional. This fixes bug: [YOCTO #1414] (From OE-Core rev: c877ec8ff1dfbf0123f94711f44cea043815a9c1) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/mdadm/mdadm_3.2.2.bb')
-rw-r--r--meta/recipes-extended/mdadm/mdadm_3.2.2.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-extended/mdadm/mdadm_3.2.2.bb b/meta/recipes-extended/mdadm/mdadm_3.2.2.bb
index 97878edb68..02109e36ac 100644
--- a/meta/recipes-extended/mdadm/mdadm_3.2.2.bb
+++ b/meta/recipes-extended/mdadm/mdadm_3.2.2.bb
@@ -8,10 +8,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
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 = "r2" 11PR = "r3"
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://0001-mdadm-fix-build-failures-ppc64.patch \ 14 file://0001-mdadm-fix-build-failures-ppc64.patch \
15 file://mdadm-3.2.2_fix_for_x32.patch \
15 " 16 "
16 17
17SRC_URI[md5sum] = "12ee2fbf3beddb60601fb7a4c4905651" 18SRC_URI[md5sum] = "12ee2fbf3beddb60601fb7a4c4905651"
@@ -22,7 +23,6 @@ CFLAGS += "-fno-strict-aliasing"
22inherit autotools 23inherit autotools
23 24
24do_compile() { 25do_compile() {
25 export CROSS_COMPILE="${TARGET_PREFIX}"
26 oe_runmake 26 oe_runmake
27} 27}
28 28