a1c8fa41f6
Now that TARGET_CC contains several space-separated words, it must be used quoted everywhere. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
30 lines
741 B
Makefile
30 lines
741 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_AUTORECONF = NO
|
|
MDADM_LIBTOOL_PATCH = NO
|
|
|
|
MDADM_INSTALL_STAGING = NO
|
|
MDADM_INSTALL_TARGET = YES
|
|
|
|
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
|
|
|
|
$(eval $(call AUTOTARGETS,package,mdadm))
|
|
|
|
$(MDADM_TARGET_CONFIGURE):
|
|
$(call MESSAGE,"Configuring")
|
|
$(Q)touch $@
|