2005-09-24 02:57:27 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# mdadm
|
|
|
|
#
|
|
|
|
#############################################################
|
2009-12-14 22:56:10 +01:00
|
|
|
MDADM_VERSION:=2.6.9
|
|
|
|
MDADM_SOURCE:=mdadm-$(MDADM_VERSION).tar.bz2
|
|
|
|
MDADM_SITE:=http://www.kernel.org/pub/linux/utils/raid/mdadm
|
2005-09-24 02:57:27 +02:00
|
|
|
|
2009-12-14 22:56:10 +01:00
|
|
|
MDADM_AUTORECONF = NO
|
|
|
|
MDADM_LIBTOOL_PATCH = NO
|
2007-05-15 13:25:41 +02:00
|
|
|
|
2009-12-14 22:56:10 +01:00
|
|
|
MDADM_INSTALL_STAGING = NO
|
|
|
|
MDADM_INSTALL_TARGET = YES
|
2005-09-24 02:57:27 +02:00
|
|
|
|
2009-12-14 22:56:10 +01:00
|
|
|
MDADM_MAKE_OPT = \
|
2010-07-06 09:27:32 +02:00
|
|
|
CFLAGS="$(TARGET_CFLAGS)" CC="$(TARGET_CC)" -C $(MDADM_DIR) mdadm
|
2005-09-24 02:57:27 +02:00
|
|
|
|
2009-12-14 22:56:10 +01:00
|
|
|
MDADM_INSTALL_TARGET_OPT = \
|
|
|
|
DESTDIR=$(TARGET_DIR)/usr -C $(MDADM_DIR) install-mdadm
|
2005-09-24 02:57:27 +02:00
|
|
|
|
2009-12-14 22:56:10 +01:00
|
|
|
MDADM_UNINSTALL_TARGET_OPT = \
|
|
|
|
DESTDIR=$(TARGET_DIR)/usr -C $(MDADM_DIR) uninstall
|
2005-09-24 02:57:27 +02:00
|
|
|
|
2010-09-01 23:49:33 +02:00
|
|
|
define MDADM_CONFIGURE_CMDS
|
|
|
|
# Do nothing
|
|
|
|
endef
|
2005-09-24 02:57:27 +02:00
|
|
|
|
2010-09-01 23:49:33 +02:00
|
|
|
$(eval $(call AUTOTARGETS,package,mdadm))
|