kumquat-buildroot/package/make/make.mk
Baruch Siach 38ee8a8e16 make: depend on guile explicitly when available
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-26 23:25:03 +01:00

27 lines
691 B
Makefile

################################################################################
#
# make
#
################################################################################
MAKE_VERSION = 4.1
MAKE_SOURCE = make-$(MAKE_VERSION).tar.bz2
MAKE_SITE = $(BR2_GNU_MIRROR)/make
MAKE_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
MAKE_LICENSE = GPLv3+
MAKE_LICENSE_FILES = COPYING
# Disable the 'load' operation for static builds since it needs dlopen
ifeq ($(BR2_STATIC_LIBS),y)
MAKE_CONF_OPTS += --disable-load
endif
ifeq ($(BR2_PACKAGE_GUILE),y)
MAKE_DEPENDENCIES += guile
MAKE_CONF_OPTS += --with-guile
else
MAKE_CONF_OPTS += --without-guile
endif
$(eval $(autotools-package))