![Thomas De Schampheleire](/assets/img/avatar_default.png)
While the autotools infrastructure was using FOO_MAKE_OPT, generic packages were typically using FOO_MAKE_OPTS. This inconsistency becomes a problem when a new infrastructure is introduced that wants to make use of FOO_MAKE_OPT(S), and can live alongside either generic-package or autotools-package. The new infrastructure will have to choose between either OPT or OPTS, and thus rule out transparent usage by respectively generic packages or generic packages. An example of such an infrastructure is kconfig-package, which provides kconfig-related make targets. The OPTS variant is more logical, as there are typically multiple options. This patch renames all occurrences of FOO_MAKE_OPT in FOO_MAKE_OPTS. Sed command used: find * -type f | xargs sed -i 's#_MAKE_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
18 lines
505 B
Makefile
18 lines
505 B
Makefile
################################################################################
|
|
#
|
|
# mpfr
|
|
#
|
|
################################################################################
|
|
|
|
MPFR_VERSION = 3.1.2
|
|
MPFR_SITE = http://www.mpfr.org/mpfr-$(MPFR_VERSION)
|
|
MPFR_SOURCE = mpfr-$(MPFR_VERSION).tar.xz
|
|
MPFR_LICENSE = LGPLv3+
|
|
MPFR_LICENSE_FILES = COPYING.LESSER
|
|
MPFR_INSTALL_STAGING = YES
|
|
MPFR_DEPENDENCIES = gmp
|
|
MPFR_MAKE_OPTS = RANLIB=$(TARGET_RANLIB)
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|