summaryrefslogtreecommitdiffstats
path: root/package/mdadm/mdadm.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/mdadm/mdadm.mk')
-rw-r--r--package/mdadm/mdadm.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/package/mdadm/mdadm.mk b/package/mdadm/mdadm.mk
index b045e903a..7af0e8f9f 100644
--- a/package/mdadm/mdadm.mk
+++ b/package/mdadm/mdadm.mk
@@ -5,7 +5,7 @@
#############################################################
MDADM_VERSION:=2.6.4
MDADM_SOURCE:=mdadm_$(MDADM_VERSION).orig.tar.gz
-MDADM_PATCH:=mdadm_$(MDADM_VERSION)-1.diff.gz
+MDADM_PATCH:=mdadm_$(MDADM_VERSION)-2.diff.gz
MDADM_CAT:=$(ZCAT)
MDADM_SITE:=$(BR2_DEBIAN_MIRROR)/debian/pool/main/m/mdadm
MDADM_DIR:=$(BUILD_DIR)/mdadm-$(MDADM_VERSION)
@@ -42,10 +42,12 @@ $(TARGET_DIR)/$(MDADM_TARGET_BINARY): $(MDADM_DIR)/$(MDADM_BINARY)
rm -Rf $(TARGET_DIR)/usr/share/man
$(STRIPCMD) $(STRIP_STRIP_ALL) $@
-mdadm: uclibc $(TARGET_DIR)/$(MDADM_TARGET_BINARY)
-
mdadm-source: $(DL_DIR)/$(MDADM_SOURCE) $(MDADM_PATCH_FILE)
+mdadm-unpacked: $(MDADM_DIR)/.unpacked
+
+mdadm: uclibc $(TARGET_DIR)/$(MDADM_TARGET_BINARY)
+
mdadm-clean:
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(MDADM_DIR) uninstall
-$(MAKE) -C $(MDADM_DIR) clean