aboutsummaryrefslogtreecommitdiff
path: root/lang/erlang/Makefile
Commit message (Collapse)AuthorAge
* treewide: remove AUTORELEASEPaul Fertser2023-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatically compute and substitute current values for all $(AUTORELEASE) instances as this feature is deprecated and shouldn't be used. The following temporary change was made to the core: diff --git a/rules.mk b/rules.mk index 57d7995d4fa8..f16367de87a8 100644 --- a/rules.mk +++ b/rules.mk @@ -429,7 +429,7 @@ endef abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1)))) COMMITCOUNT = $(if $(DUMP),0,$(call commitcount)) -AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1)) +AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile)) all: FORCE: ; And this command used to fix affected packages: for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \ sed 's^.*/\([^/]*\)/Makefile^\1^';); do make package/$i/download done Signed-off-by: Paul Fertser <fercerpav@gmail.com>
* treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16Andre Heider2023-04-08
| | | | | | | See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with PKG_BUILD_FLAGS:=no-mips16" on the main repository. Signed-off-by: Andre Heider <a.heider@gmail.com>
* erlang: workaround LibreSSL-3.5.0 compat issuesSebastian Kemper2022-07-23
| | | | | | | | | | | | | | | | | | Cherry-pick four upstream commits that prevent building of otp_test_engine when LibreSSL-3.5.0 is used. Since OpenWrt bumped LibreSSL to 3.5.3 the erlang host builds fail to complete. CC ../priv/obj/x86_64-pc-linux-gnu/otp_test_engine.o otp_test_engine.c: In function 'test_engine_md5_init': otp_test_engine.c:144:34: error: dereferencing pointer to incomplete type 'EVP_MD_CTX' {aka 'struct env_md_ctx_st'} #define data(ctx) ((MD5_CTX *)ctx->md_data) ^~ Also switch to AUTORELEASE. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* erlang: update to version 24.2Sergey V. Lobanov2022-01-09
| | | | | | | | | | | | 1. updated to 24.2 (RN: https://github.com/erlang/otp/releases/tag/OTP-24.2) 2. added libstdcpp dependency 3. erlang-hipe was removed in upstream (ref https://github.com/erlang/otp/commit/fccb8482efc47bf2e48911564df502f087cce5ed) everything related to erlang-hipe was removed from Makefile 4. updated and refreshed patches 5. host-compile ssl library forced to OpenWrt LibreSSL to avoid using system library Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
* erlang: disable PIERosen Penev2021-07-11
| | | | | | Fails to compile with it on. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* erlang: disable PGO on hostRosen Penev2020-12-31
| | | | | | | Fixes compilation with clang. The make system misidentifies clang as GCC for some reason. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* erlang: fix host build when pcre/host is installedSebastian Kemper2020-09-01
| | | | | | | | | | | | | | | | | | | | | | | | OpenWrt added pcre/host recently. When it is available (installed) erlang finds staging_dir/hostpkg/include/pcre.h before it finds its own copy and the build fails. CC obj/x86_64-pc-linux-gnu/opt/smp/erl_bif_chksum.o CC obj/x86_64-pc-linux-gnu/opt/smp/erl_bif_re.o beam/erl_bif_re.c: In function 'erts_init_bif_re': beam/erl_bif_re.c:96:5: error: 'erts_pcre_malloc' undeclared (first use in this function) erts_pcre_malloc = &erts_erts_pcre_malloc; ^~~~~~~~~~~~~~~~ beam/erl_bif_re.c:96:5: note: each undeclared identifier is reported only once for each function it appears in beam/erl_bif_re.c:97:5: error: 'erts_pcre_free' undeclared (first use in this function) erts_pcre_free = &erts_erts_pcre_free; ^~~~~~~~~~~~~~ This adds a patch from Romain Naour and Bernd Kuhls to prevent that. Patch snatched from buildroot [1]. [1] https://github.com/buildroot/buildroot/blob/master/package/erlang/0002-erts-emulator-reorder-inclued-headers-paths.patch Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* erlang: fix compilation without deprecated OpenSSL APIsRosen Penev2020-08-04
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* erlang: upgrade opt 23.0Xiaobo Tian2020-06-10
| | | | Signed-off-by: Xiaobo Tian <peterwillcn@gmail.com>
* treewide: add PKG_CPE_ID for better cvescanner coverageJan Pavlinec2019-09-17
| | | | Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
* erlang: Fix compilation without deprecated OpenSSL APIsRosen Penev2019-04-20
| | | | | | Renamed the patch as it does more than fix ENGINE support. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* erlang: Fix compilation without deprecated OpenSSL 1.0.2 APIsRosen Penev2019-01-01
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* erlang: license correctedArnaud Sautaux2018-12-05
| | | | Signed-off-by: Arnaud Sautaux <arnaud.sautaux@infoteam.ch>
* erlang: update to version 21.0Arnaud Sautaux2018-10-30
| | | | Signed-off-by: Arnaud Sautaux <arnaud.sautaux@infoteam.ch>
* erlang: update to version 19.3, add packagesArnaud Sautaux2018-06-13
| | | | | | | | | | | | | | New packages: * erlang-tools: This Erlang/OTP package provides support for misc tools. * erlang-reltool: This Erlang/OTP package provides support for release management. * erlang-erl-interface: This Erlang/OTP package provides support for erlang interoperability with other languages. * erlang-os_mon: This Erlang/OTP package provides the following services: - cpu_sup CPU load and utilization supervision - disksup Disk supervision - memsup Memory supervision * erlang-xmerl: This Erlang/OTP package provides functions for exporting XML data to an external format Signed-off-by: Arnaud Sautaux <arnaud.sautaux@infoteam.ch>
* treewide: run "make check FIXUP=1"Etienne Champetier2017-08-29
| | | | | | | | | | fix Makefile chmod (644) replace MD5SUM with HASH add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git (PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now) Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
* erlang: fix compilation error by disabling mips16Yousong Zhou2016-09-01
| | | | | | | | | | | | | | This is caused by a toolchain bug and has been reported to GCC a while a ago without receiving any responses yet [1]. Fix it at the moment by not compiling with mips16 enabled. Should fix #1750 and #1904. [1] Bug 71519 - "Out of range operand" bteqz inst generated by "casesi_internal_mips16_<mode>", https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71519 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* erlang: fix musl compatibilityNicolas Thill2015-06-23
| | | | | | gethostbyname_r is available when _GNU_SOURCE is defined, add a patch to check for it instead of __GLIBC__, build with -D_GNU_SOURCE, bump release number Signed-off-by: Nicolas Thill <nico@openwrt.org>
* erlang: update to 17.5Nicolas Thill2015-04-06
| | | | Signed-off-by: Nicolas Thill <nico@openwrt.org>
* erlang: bump to 17.4Nicolas Thill2015-01-09
| | | | Signed-off-by: Nicolas Thill <nico@openwrt.org>
* misc: correct typo in Makefiles for PKG_LICENSE_FILESIan Leonard2014-11-24
| | | | Signed-off-by: Ian Leonard <antonlacon@gmail.com>
* erlang: bump to 17.3Nicolas Thill2014-11-12
| | | | Signed-off-by: Nicolas Thill <nico@openwrt.org>
* erlang: import from old packages feedNicolas Thill2014-08-20
- update to latest version (v17.1) - add license info - add myself as maintainer Signed-off-by: Nicolas Thill <nico@openwrt.org>