8dfd59d114
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
27 lines
691 B
Makefile
27 lines
691 B
Makefile
################################################################################
|
|
#
|
|
# mdadm
|
|
#
|
|
################################################################################
|
|
|
|
MDADM_VERSION = 3.2.6
|
|
MDADM_SOURCE = mdadm-$(MDADM_VERSION).tar.bz2
|
|
MDADM_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/raid/mdadm
|
|
MDADM_LICENSE = GPLv2+
|
|
MDADM_LICENSE_FILES = COPYING
|
|
|
|
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))
|