2017-04-05 00:50:12 +02:00
|
|
|
################################################################################
|
2015-11-04 18:47:04 +01:00
|
|
|
#
|
|
|
|
# trousers
|
|
|
|
#
|
2017-04-05 00:50:12 +02:00
|
|
|
################################################################################
|
2015-11-04 18:47:04 +01:00
|
|
|
|
2018-08-20 07:47:34 +02:00
|
|
|
TROUSERS_VERSION = 0.3.14
|
2015-11-04 18:47:04 +01:00
|
|
|
TROUSERS_SITE = http://downloads.sourceforge.net/project/trousers/trousers/$(TROUSERS_VERSION)
|
2017-03-30 15:43:38 +02:00
|
|
|
TROUSERS_LICENSE = BSD-3-Clause
|
2015-11-04 18:47:04 +01:00
|
|
|
TROUSERS_LICENSE_FILES = LICENSE
|
|
|
|
TROUSERS_INSTALL_STAGING = YES
|
2016-01-18 15:44:13 +01:00
|
|
|
# Need autoreconf because of a patch touching configure.in and Makefile.am
|
|
|
|
TROUSERS_AUTORECONF = YES
|
2016-08-21 23:36:48 +02:00
|
|
|
TROUSERS_DEPENDENCIES = host-pkgconf openssl
|
2015-11-04 18:47:04 +01:00
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
|
|
|
TROUSERS_DEPENDENCIES += libiconv
|
|
|
|
endif
|
|
|
|
|
2016-11-22 11:42:25 +01:00
|
|
|
ifeq ($(BR2_arc770d)$(BR2_arc750d),y)
|
|
|
|
TROUSERS_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -mno-compact-casesi"
|
|
|
|
endif
|
|
|
|
|
2015-11-04 18:47:04 +01:00
|
|
|
# The TrouSerS build system attempts to create the tss user and group
|
|
|
|
# on the host system. Disable the user checking feature as a
|
|
|
|
# workaround.
|
|
|
|
TROUSERS_CONF_OPTS += --disable-usercheck
|
|
|
|
|
2016-07-11 16:35:14 +02:00
|
|
|
ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),)
|
2016-01-18 15:44:13 +01:00
|
|
|
TROUSERS_CONF_ENV += \
|
|
|
|
ax_cv_check_cflags___fPIE__DPIE=no \
|
|
|
|
ax_cv_check_ldflags___pie=no
|
|
|
|
endif
|
|
|
|
|
2015-11-04 18:47:04 +01:00
|
|
|
$(eval $(autotools-package))
|