summaryrefslogtreecommitdiff
path: root/package/libatomic
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2021-02-22 16:04:55 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2021-02-25 10:05:15 +0100
commite807fea5aecd87d079edfdbc603350cc3d9b57bb (patch)
treeb8123ca34cbff474c1d27178a600f8f40ae05975 /package/libatomic
parent51a1e571546c842a5336696a7b3697a0899f0a72 (diff)
package/freeradius-server: Update to version 3.0.21
The old version 3.0.13 is no longer available for download. Adjust radiusd.conf, some items were moved to 'security' section. Install all dictionaries in /usr/share/freeradius - the base dictionary includes all but very few of them, so no point in explicitly stating which ones to include. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'package/libatomic')
-rw-r--r--package/libatomic/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/package/libatomic/Makefile b/package/libatomic/Makefile
new file mode 100644
index 000000000..9f050b937
--- /dev/null
+++ b/package/libatomic/Makefile
@@ -0,0 +1,31 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${ADK_TOPDIR}/rules.mk
+include ${ADK_TOPDIR}/toolchain/gcc/Makefile.inc
+
+PKG_NAME:= libatomic
+PKG_DESCR:= gcc atomic library
+PKG_SECTION:= base/libs
+PKG_OPTS:= noremove
+
+PKG_DFLT_LIBATOMIC:= y if !ADK_APPLIANCE_TOOLCHAIN
+
+NO_DISTFILES:= 1
+
+include ${ADK_TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,LIBATOMIC,libatomic,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+
+CONFIG_STYLE:= manual
+BUILD_STYLE:= manual
+INSTALL_STYLE:= manual
+
+libatomic-install:
+ $(INSTALL_DIR) ${IDIR_LIBATOMIC}/$(ADK_TARGET_LIBC_PATH)
+ifeq ($(ADK_TARGET_USE_STATIC_LIBS_ONLY),)
+ # XXX: properly install libatomic
+ ${CP} ${TOOLCHAIN_BUILD_DIR}/w-gcc*/gcc-*-final/*/libatomic/.libs/libatomic*.so* ${IDIR_LIBATOMIC}/$(ADK_TARGET_LIBC_PATH)
+endif
+
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk