xref: /OK3568_Linux_fs/buildroot/package/make/make.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1################################################################################
2#
3# make
4#
5################################################################################
6
7MAKE_VERSION = 4.2.1
8MAKE_SOURCE = make-$(MAKE_VERSION).tar.bz2
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
15# Patching configure.ac
16MAKE_AUTORECONF = YES
17
18MAKE_CONF_OPTS = --without-guile
19
20# Disable the 'load' operation for static builds since it needs dlopen
21ifeq ($(BR2_STATIC_LIBS),y)
22MAKE_CONF_OPTS += --disable-load
23endif
24
25HOST_MAKE_DEPENDENCIES = host-pkgconf
26HOST_MAKE_CONF_OPTS = --without-guile
27
28# Configure host-make binary to be 'host-make' to ensure it isn't
29# accidently used by packages when they invoke recursive / sub-make.
30HOST_MAKE_CONF_OPTS += --program-prefix=host-
31
32$(eval $(autotools-package))
33$(eval $(host-autotools-package))
34