summaryrefslogtreecommitdiff
path: root/package/mdadm/mdadm.mk
blob: 087a2d2c7008f9fb4e2808a4ae2b72a23e56fd71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#############################################################
#
# mdadm
#
#############################################################
MDADM_VERSION:=2.6.9
MDADM_SOURCE:=mdadm-$(MDADM_VERSION).tar.bz2
MDADM_SITE:=http://www.kernel.org/pub/linux/utils/raid/mdadm

MDADM_AUTORECONF = NO

MDADM_INSTALL_STAGING = NO
MDADM_INSTALL_TARGET = YES

MDADM_MAKE_OPT = \
	CFLAGS="$(TARGET_CFLAGS)" CC="$(TARGET_CC)" -C $(MDADM_DIR) mdadm

MDADM_INSTALL_TARGET_OPT = \
	DESTDIR=$(TARGET_DIR)/usr -C $(MDADM_DIR) install-mdadm

MDADM_UNINSTALL_TARGET_OPT = \
	DESTDIR=$(TARGET_DIR)/usr -C $(MDADM_DIR) uninstall

define MDADM_CONFIGURE_CMDS
	# Do nothing
endef

$(eval $(call AUTOTARGETS))