821a6d6338
libosip2 appears to have support for the "ARC standard" (Advanced RISC Computing), which is unrelated to Synopsys DesignWare ARC processors. The check for this involves verifying the existence of the "__arc__" macro. Unfortunately, this macro is also present as a predefined built-in for the ARC processors, resulting into build failures. [Peter: add short comment in .mk files as well] Signed-off-by: Mischa Jonker <mjonker@synopsys.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
22 lines
585 B
Makefile
22 lines
585 B
Makefile
################################################################################
|
|
#
|
|
# libosip2
|
|
#
|
|
################################################################################
|
|
|
|
LIBOSIP2_VERSION = 3.6.0
|
|
LIBOSIP2_SITE = $(BR2_GNU_MIRROR)/osip
|
|
LIBOSIP2_INSTALL_STAGING = YES
|
|
LIBOSIP2_LICENSE = LGPLv2.1+
|
|
LIBOSIP2_LICENSE_FILES = COPYING
|
|
|
|
ifeq ($(BR2_arc),y)
|
|
# toolchain __arc__ define conflicts with libosip2 source
|
|
LIBOSIP2_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -U__arc__"
|
|
endif
|
|
|
|
LIBOSIP2_CONF_OPT = \
|
|
--enable-mt=$(if $(BR2_TOOLCHAIN_HAS_THREADS),yes,no)
|
|
|
|
$(eval $(autotools-package))
|