62146ea3ad
[Peter: leave change xz tarball format to not end up with circular deps] Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
27 lines
690 B
Makefile
27 lines
690 B
Makefile
################################################################################
|
|
#
|
|
# mdadm
|
|
#
|
|
################################################################################
|
|
|
|
MDADM_VERSION = 3.2.6
|
|
MDADM_SOURCE = mdadm-$(MDADM_VERSION).tar.xz
|
|
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))
|