summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/mdadm/mdadm.inc5
-rw-r--r--packages/mdadm/mdadm_2.5.5.bb3
2 files changed, 8 insertions, 0 deletions
diff --git a/packages/mdadm/mdadm.inc b/packages/mdadm/mdadm.inc
index cebec627af..fa03492e8d 100644
--- a/packages/mdadm/mdadm.inc
+++ b/packages/mdadm/mdadm.inc
@@ -13,6 +13,11 @@ inherit autotools
INHIBIT_AUTO_STAGE = "1"
+do_compile() {
+ export CROSS_COMPILE="${TARGET_PREFIX}"
+ oe_runmake
+}
+
do_install() {
export STRIP=""
autotools_do_install
diff --git a/packages/mdadm/mdadm_2.5.5.bb b/packages/mdadm/mdadm_2.5.5.bb
new file mode 100644
index 0000000000..0219b12f61
--- /dev/null
+++ b/packages/mdadm/mdadm_2.5.5.bb
@@ -0,0 +1,3 @@
+require mdadm.inc
+PR = "r0"
+