![Ricardo Martincoski](/assets/img/avatar_default.png)
Occurrences were searched using [1]: check-package --include-only PackageHeader $(find * -type f) and manually fixed to comply to [2]. [1] http://patchwork.ozlabs.org/patch/729669/ [2] http://nightly.buildroot.org/#writing-rules-mk Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# trousers
|
|
#
|
|
################################################################################
|
|
|
|
TROUSERS_VERSION = 0.3.13
|
|
TROUSERS_SITE = http://downloads.sourceforge.net/project/trousers/trousers/$(TROUSERS_VERSION)
|
|
TROUSERS_LICENSE = BSD-3-Clause
|
|
TROUSERS_LICENSE_FILES = LICENSE
|
|
TROUSERS_INSTALL_STAGING = YES
|
|
# Need autoreconf because of a patch touching configure.in and Makefile.am
|
|
TROUSERS_AUTORECONF = YES
|
|
TROUSERS_DEPENDENCIES = host-pkgconf openssl
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
|
TROUSERS_DEPENDENCIES += libiconv
|
|
endif
|
|
|
|
ifeq ($(BR2_arc770d)$(BR2_arc750d),y)
|
|
TROUSERS_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -mno-compact-casesi"
|
|
endif
|
|
|
|
# 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
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),)
|
|
TROUSERS_CONF_ENV += \
|
|
ax_cv_check_cflags___fPIE__DPIE=no \
|
|
ax_cv_check_ldflags___pie=no
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|