1################################################################################ 2# 3# libatomic_ops 4# 5################################################################################ 6 7LIBATOMIC_OPS_VERSION = 7.6.12 8LIBATOMIC_OPS_SITE = $(call github,ivmai,libatomic_ops,v$(LIBATOMIC_OPS_VERSION)) 9LIBATOMIC_OPS_AUTORECONF = YES 10 11# From doc/LICENSING.txt: "Our intent is to make it easy to use 12# libatomic_ops, in both free and proprietary software. Hence most 13# code that we expect to be linked into a client application is 14# covered by an MIT-style license. A few library routines are covered 15# by the GNU General Public License. These are put into a separate 16# library, libatomic_ops_gpl.a." 17LIBATOMIC_OPS_LICENSE = MIT (main library) / GPL-2.0+ (gpl extension) 18LIBATOMIC_OPS_LICENSE_FILES = doc/LICENSING.txt COPYING 19LIBATOMIC_OPS_CPE_ID_VENDOR = libatomic_ops_project 20 21LIBATOMIC_OPS_INSTALL_STAGING = YES 22 23ifeq ($(BR2_sparc_v8)$(BR2_sparc_leon3),y) 24LIBATOMIC_OPS_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -DAO_NO_SPARC_V9" 25endif 26 27$(eval $(autotools-package)) 28$(eval $(host-autotools-package)) 29