diff options
author | Dexuan Cui <dexuan.cui@intel.com> | 2010-08-31 22:19:37 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-02 09:50:47 +0100 |
commit | 8289cd417045966c13f3053e27912684a2a15180 (patch) | |
tree | a5213190d2ab5bdb8cade7a7c2a14ee990e30e80 /meta/recipes-extended/mdadm | |
parent | 93914e120cabb06f40c26ff58480b9dead0b66e3 (diff) | |
download | poky-8289cd417045966c13f3053e27912684a2a15180.tar.gz |
mdadm: add the latest version 3.1.4
The recipe is borrowed from OE, with the following changes:
- upgrade the version from 2.5 to 3.1.4
- simplify DESCRIPTION
- add HOMEPAGE, BUGTRACKER, LICENSE and LIC_FILES_CHKSUM, PR
- remove INHIBIT_AUTO_STAGE
- fixing coding style issue: 4 SPACES --> 1 TAB
mdadm: move to recipes-extended
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
Diffstat (limited to 'meta/recipes-extended/mdadm')
-rw-r--r-- | meta/recipes-extended/mdadm/mdadm_3.1.4.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-extended/mdadm/mdadm_3.1.4.bb b/meta/recipes-extended/mdadm/mdadm_3.1.4.bb new file mode 100644 index 0000000000..b28e96b759 --- /dev/null +++ b/meta/recipes-extended/mdadm/mdadm_3.1.4.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | DESCRIPTION = " A tool for managing Soft RAID under Linux" | ||
2 | HOMEPAGE = "http://www.kernel.org/pub/linux/utils/raid/mdadm/" | ||
3 | BUGTRACKER = "n/a" | ||
4 | |||
5 | #A few files are GPLv2+ while most files are GPLv2. | ||
6 | LICENSE = "GPLv2" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \ | ||
8 | file://mdmon.c;beginline=4;endline=18;md5=af7d8444d9c4d3e5c7caac0d9d34039d \ | ||
9 | file://mdadm.h;beglinlne=4;endline=22;md5=462bc9936ac0d3da110191a3f9994161" | ||
10 | |||
11 | PR = "r0" | ||
12 | |||
13 | SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/raid/mdadm/${PN}-${PV}.tar.bz2" | ||
14 | |||
15 | CFLAGS += "-fno-strict-aliasing" | ||
16 | |||
17 | inherit autotools | ||
18 | |||
19 | do_compile() { | ||
20 | export CROSS_COMPILE="${TARGET_PREFIX}" | ||
21 | oe_runmake | ||
22 | } | ||
23 | |||
24 | do_install() { | ||
25 | export STRIP="" | ||
26 | autotools_do_install | ||
27 | } | ||
28 | |||