buildrootschalter/package/popt/popt.mk
Gustavo Zacarias 4ff0323105 blackfin: 2012R1 toolchain is gone, remove kludges
Remove ADI toolchain 2012R1 package kludges since that version is gone
since the last bump.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-06-18 14:01:03 +02:00

30 lines
931 B
Makefile

################################################################################
#
# popt
#
################################################################################
POPT_VERSION = 1.16
# rpm5.org down
POPT_SITE = http://anduin.linuxfromscratch.org/sources/BLFS/svn/p/
POPT_INSTALL_STAGING = YES
POPT_LICENSE = MIT
POPT_LICENSE_FILES = COPYING
POPT_CONF_ENV = ac_cv_va_copy=yes
# The external Blackfin toolchains have <glob.h>, but not all the
# necessary uClibc options for glob functions, so we force disable the
# usage of the glob functions for these toolchains.
ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2)$(BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1),y)
POPT_CONF_ENV += ac_cv_header_glob_h=no
endif
ifeq ($(BR2_PACKAGE_LIBICONV),y)
POPT_CONF_ENV += am_cv_lib_iconv=yes
POPT_CONF_OPT += --with-libiconv-prefix=$(STAGING_DIR)/usr
endif
$(eval $(autotools-package))
$(eval $(host-autotools-package))