- bump version
This commit is contained in:
parent
014ad48f5f
commit
30d713a81b
@ -4,18 +4,32 @@
|
||||
#
|
||||
#############################################################
|
||||
MDADM_VERSION:=2.6.1
|
||||
MDADM_SOURCE:=mdadm-$(MDADM_VERSION).tar.bz2
|
||||
MDADM_CAT:=$(BZCAT)
|
||||
MDADM_SITE:=http://www.kernel.org/pub/linux/utils/raid/mdadm
|
||||
MDADM_SOURCE:=mdadm_$(MDADM_VERSION).orig.tar.gz
|
||||
MDADM_PATCH:=mdadm_$(MDADM_VERSION)-1~exp.5.diff.gz
|
||||
MDADM_CAT:=$(ZCAT)
|
||||
MDADM_SITE:=http://ftp.debian.org/debian/pool/main/m/mdadm
|
||||
MDADM_DIR:=$(BUILD_DIR)/mdadm-$(MDADM_VERSION)
|
||||
MDADM_BINARY:=mdadm
|
||||
MDADM_TARGET_BINARY:=sbin/mdadm
|
||||
|
||||
$(DL_DIR)/$(MDADM_SOURCE):
|
||||
ifneq ($(MDADM_PATCH),)
|
||||
MDADM_PATCH_FILE:=$(DL_DIR)/$(MDADM_PATCH)
|
||||
$(MDADM_PATCH_FILE):
|
||||
$(WGET) -P $(DL_DIR) $(MDADM_SITE)/$(MDADM_PATCH)
|
||||
endif
|
||||
|
||||
$(DL_DIR)/$(MDADM_SOURCE): $(MDADM_PATCH_FILE)
|
||||
$(WGET) -P $(DL_DIR) $(MDADM_SITE)/$(MDADM_SOURCE)
|
||||
touch -c $@
|
||||
|
||||
$(MDADM_DIR)/.unpacked: $(DL_DIR)/$(MDADM_SOURCE)
|
||||
$(MDADM_CAT) $(DL_DIR)/$(MDADM_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||
ifneq ($(MDADM_PATCH),)
|
||||
(cd $(MDADM_DIR) && $(MDADM_CAT) $(MDADM_PATCH_FILE) | patch -p1)
|
||||
if [ -d $(MDADM_DIR)/debian/patches ]; then \
|
||||
toolchain/patch-kernel.sh $(MDADM_DIR) $(MDADM_DIR)/debian/patches \*patch ; \
|
||||
fi
|
||||
endif
|
||||
toolchain/patch-kernel.sh $(MDADM_DIR) package/mdadm mdadm-$(MDADM_VERSION)\*.patch
|
||||
touch $@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user