(From OE-Core rev: c7aacc09c4d3d68bdd6fa7419a7ea1c2b2a007ae) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
39 lines
1.1 KiB
BlitzBasic
39 lines
1.1 KiB
BlitzBasic
DESCRIPTION = " A tool for managing Soft RAID under Linux"
|
|
HOMEPAGE = "http://www.kernel.org/pub/linux/utils/raid/mdadm/"
|
|
BUGTRACKER = "n/a"
|
|
|
|
# Some files are GPLv2+ while others are GPLv2.
|
|
LICENSE = "GPLv2 & GPLv2+"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
|
file://mdmon.c;beginline=4;endline=18;md5=af7d8444d9c4d3e5c7caac0d9d34039d \
|
|
file://mdadm.h;beglinlne=4;endline=22;md5=462bc9936ac0d3da110191a3f9994161"
|
|
|
|
PR = "r0"
|
|
|
|
SRC_URI = "${KERNELORG_MIRROR}/linux/utils/raid/mdadm/${BPN}-${PV}.tar.bz2 \
|
|
file://mdadm-3.2.2_fix_for_x32.patch \
|
|
"
|
|
|
|
SRC_URI[md5sum] = "3e255dc71e5144bbcb872788ca647267"
|
|
SRC_URI[sha256sum] = "c44ed3b31238b41cffe67caffaf45067d01e095de94988889ea8a94e22dc6c38"
|
|
|
|
CFLAGS += "-fno-strict-aliasing"
|
|
|
|
inherit autotools
|
|
|
|
# We don't DEPEND on binutils for ansidecl.h so ensure we don't use the header
|
|
do_configure_prepend () {
|
|
sed -i -e '/.*ansidecl.h.*/d' ${S}/sha1.h
|
|
}
|
|
|
|
do_compile() {
|
|
oe_runmake
|
|
}
|
|
|
|
do_install() {
|
|
export STRIP=""
|
|
autotools_do_install
|
|
}
|
|
|
|
FILES_${PN} += "${base_libdir}/udev/rules.d/*.rules"
|