kumquat-buildroot/package/mdadm/mdadm.mk
Gustavo Zacarias dc27510ed2 mdadm: use BR2_KERNEL_MIRROR for SITE
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-02-06 14:42:52 +01:00

25 lines
600 B
Makefile

#############################################################
#
# mdadm
#
#############################################################
MDADM_VERSION = 2.6.9
MDADM_SOURCE = mdadm-$(MDADM_VERSION).tar.bz2
MDADM_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/raid/mdadm
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 $(autotools-package))