e1502ebc0c
Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
24 lines
601 B
Makefile
24 lines
601 B
Makefile
#############################################################
|
|
#
|
|
# 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_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))
|