summaryrefslogtreecommitdiff
path: root/packages/mdadm/mdadm.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/mdadm/mdadm.inc')
-rw-r--r--packages/mdadm/mdadm.inc5
1 files changed, 5 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