Commit Graph

15 Commits

Author SHA1 Message Date
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
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>
2023-04-21 22:46:58 +02:00
Andre Heider e7d9c86503 treewide: refactor to use PKG_BUILD_FLAGS:=lto
See commit 07730ff3 "treewide: add support for "lto" in PKG_BUILD_FLAGS"
on the main repository.

Note: Some packages only added `-flto` to CFLAGS and not LDFLAGS. This
fixes it and properly enables LTO.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Andre Heider 35f4ef76e0 treewide: refactor to use PKG_BUILD_FLAGS:=gc-sections
See commit da370098 "treewide: add support for "gc-sections" in
PKG_BUILD_FLAGS" on the main repository.

Note: This only touches packages which use all three parts
(-ffunction-sections, -fdata-sections and -Wl,--gc-sections) enabled by
this build flag. Some packages only use a subset, and these are left
unchanged for now.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Rosen Penev f026ff03b3 libtins: update to 4.4
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-04 13:02:22 -07:00
Rosen Penev 2e654b19f3 treewide: back to cmake.mk
Ninja was merged to base and therefore we can now use normal cmake.mk

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-12 21:05:01 -07:00
Rosen Penev a31b732007 treewide: build CMake projects with Ninja
faster to compile.

A small selection of packages was tested going from:

Executed in  696.30 secs   fish           external
   usr time   82.98 mins  395.00 micros   82.98 mins
   sys time    9.02 mins    0.00 micros    9.02 mins

to:

Executed in  592.20 secs   fish           external
   usr time   84.84 mins  361.00 micros   84.84 mins
   sys time    8.85 mins   57.00 micros    8.85 mins

Tested by running make -j 12 and wiping staging/build_dir/target_x

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-27 21:51:50 -07:00
Ilya Tsybulsky d9605ad369
libtins: add patch to fix CH_SWITCH_TIMING value
Signed-off-by: Ilya Tsybulsky <ilya.tsybulsky@gmail.com>
2020-02-12 00:25:53 +03:00
Ilya Tsybulsky b93136bdea
libtins: Added menu configuration options
Signed-off-by: Ilya Tsybulsky <ilya.tsybulsky@gmail.com>
2020-02-10 00:48:35 +03:00
Rosen Penev 192c44e264
libtins: Actually remove it...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-11-13 15:32:23 -08:00
Rosen Penev 7a2930acf4
libtins: Remove no-rtti
It causes compilation errors with netwhere.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-11-13 15:31:22 -08:00
Rosen Penev 73a31f0bf6
libtins: Update to 4.2
Added size optimizations.

Added explicit options to make sure Boost doesn't get included.

Several Makefile cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-10-30 11:46:54 -07:00
Yousong Zhou 9ac5ac81ab treewide: avoid deref symlinks when installing .so
This change is inspired by commit openwrt/openwrt@38b22b1e ("nghttp2:
deduplicate files in libnghttp2")

The packages in this commit are identified with the following command

	grep -rin -E 'INSTALL_(DATA|BIN)' | grep -F '.so' | grep -F '*'

Some of them do not have symlinks and are not affected, but the change
is still applied for consideration of best practices just in case

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-06-21 09:52:32 +08:00
Eneas U de Queiroz 72f9bf3a56 libtins: copy libtins.so.* to package
Package was installing libins.so, but the soname is set to
libtins.so.4.0.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-07 08:03:18 -02:00
Rosen Penev 083f6fcdba libtins: Update to 4.0
Switched to codeload. Simpler.

Added InstallDev.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-11 05:54:00 -08:00
Steven Hessing 6d7804f733 noddos: introduction of noddos package
Signed-off-by: Steven Hessing <steven.hessing@gmail.com>
2017-08-31 05:29:11 -07:00