2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-04-14 14:30:52 +02:00
|
|
|
#
|
2013-07-22 07:30:22 +02:00
|
|
|
# libatomic_ops
|
2010-04-14 14:30:52 +02:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-04-14 14:30:52 +02:00
|
|
|
|
2017-08-07 19:24:49 +02:00
|
|
|
LIBATOMIC_OPS_VERSION = v7.4.6
|
2014-02-05 19:12:17 +01:00
|
|
|
LIBATOMIC_OPS_SITE = $(call github,ivmai,libatomic_ops,$(LIBATOMIC_OPS_VERSION))
|
|
|
|
LIBATOMIC_OPS_AUTORECONF = YES
|
2013-05-09 07:51:04 +02:00
|
|
|
|
|
|
|
# From doc/LICENSING.txt: "Our intent is to make it easy to use
|
|
|
|
# libatomic_ops, in both free and proprietary software. Hence most
|
|
|
|
# code that we expect to be linked into a client application is
|
|
|
|
# covered by an MIT-style license. A few library routines are covered
|
|
|
|
# by the GNU General Public License. These are put into a separate
|
|
|
|
# library, libatomic_ops_gpl.a."
|
2017-03-30 15:43:32 +02:00
|
|
|
LIBATOMIC_OPS_LICENSE = MIT (main library) / GPL-2.0+ (gpl extension)
|
2014-02-05 19:12:17 +01:00
|
|
|
LIBATOMIC_OPS_LICENSE_FILES = doc/LICENSING.txt COPYING
|
2013-05-09 07:51:04 +02:00
|
|
|
|
2010-04-14 14:30:52 +02:00
|
|
|
LIBATOMIC_OPS_INSTALL_STAGING = YES
|
|
|
|
|
2015-08-02 23:43:50 +02:00
|
|
|
ifeq ($(BR2_sparc_v8)$(BR2_sparc_leon3),y)
|
|
|
|
LIBATOMIC_OPS_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -DAO_NO_SPARC_V9"
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2014-11-24 23:56:27 +01:00
|
|
|
$(eval $(host-autotools-package))
|