1################################################################################
2#
3# make
4#
5################################################################################
6
7MAKE_VERSION = 4.4.1
8MAKE_SOURCE = make-$(MAKE_VERSION).tar.lz
9MAKE_SITE = $(BR2_GNU_MIRROR)/make
10MAKE_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) host-pkgconf
11MAKE_LICENSE = GPL-3.0+
12MAKE_LICENSE_FILES = COPYING
13MAKE_CPE_ID_VENDOR = gnu
14
15MAKE_CONF_OPTS = --without-guile
16
17# Disable the 'load' operation for static builds since it needs dlopen
18ifeq ($(BR2_STATIC_LIBS),y)
19MAKE_CONF_OPTS += --disable-load
20endif
21
22HOST_MAKE_DEPENDENCIES = host-pkgconf
23HOST_MAKE_CONF_OPTS = --without-guile
24
25# Configure host-make binary to be 'host-make' to ensure it isn't
26# accidently used by packages when they invoke recursive / sub-make.
27HOST_MAKE_CONF_OPTS += --program-prefix=host-
28
29$(eval $(autotools-package))
30$(eval $(host-autotools-package))
31