300f9c9c9d
Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
17 lines
440 B
Makefile
17 lines
440 B
Makefile
#############################################################
|
|
#
|
|
# mpfr
|
|
#
|
|
#############################################################
|
|
|
|
MPFR_VERSION = 3.0.1
|
|
MPFR_SITE = http://www.mpfr.org/mpfr-$(MPFR_VERSION)
|
|
MPFR_SOURCE = mpfr-$(MPFR_VERSION).tar.bz2
|
|
MPFR_INSTALL_STAGING = YES
|
|
MPFR_DEPENDENCIES = gmp
|
|
MPFR_MAKE_OPT = RANLIB=$(TARGET_RANLIB)
|
|
HOST_MPFR_DEPENDENCIES = host-gmp
|
|
|
|
$(eval $(call AUTOTARGETS))
|
|
$(eval $(call AUTOTARGETS,host))
|