summaryrefslogtreecommitdiff
path: root/recipes/mdadm/mdadm.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mdadm/mdadm.inc')
-rw-r--r--recipes/mdadm/mdadm.inc24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes/mdadm/mdadm.inc b/recipes/mdadm/mdadm.inc
new file mode 100644
index 0000000000..a944e0b190
--- /dev/null
+++ b/recipes/mdadm/mdadm.inc
@@ -0,0 +1,24 @@
+SECTION = "utils"
+DESCRIPTION = "mdadm is a tool for creating, managing and monitoring \
+device arrays using the "md" driver in Linux, also \
+known as Software RAID arrays."
+LICENSE = "GPL"
+
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/raid/mdadm/${PN}-${PV}.tar.bz2"
+
+CFLAGS += "-fno-strict-aliasing"
+
+
+inherit autotools
+
+INHIBIT_AUTO_STAGE = "1"
+
+do_compile() {
+ export CROSS_COMPILE="${TARGET_PREFIX}"
+ oe_runmake
+}
+
+do_install() {
+ export STRIP=""
+ autotools_do_install
+}