Commit Graph

21 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
Rosen Penev cf668471c7 canutils: fix format strings for mips and powerpc
It seems a define is needed to get these platforms to have the same
formats. Upstream backport.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-29 16:40:01 -08:00
Rosen Penev a004e872ea canutils: update to 2021.08.0
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-12-17 01:03:29 -08:00
Rosen Penev 5fb11cf1d5 canutils: uipdate to 2021.06.0
Switch to AUTORELEASE for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-21 00:14:39 -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
Rosen Penev 9adda83a9a
canutils: update to 2020.12.0
Remove upstreamed patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-02-22 16:36:35 -08:00
Rosen Penev 66191f481e
canutils: update to 2020.11.0
Renamed j* tools to their new versions.

Remove upstreamed patches.

Add missing time.h header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-19 16:17:42 -08:00
Rosen Penev 2cd89652c1
canutils: remove usleep and bzero
Both removed in POSIX 2008.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-12 16:23:35 -07:00
Rosen Penev d34430f02f
canutils: add back install section
5969273ff4 mistakenly got rid of the
install section for canutils, causing errors when trying to install.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-14 15:40:09 -07:00
Rosen Penev 5f9a918c4f
canutils: switch to CMake
Allows simplifying the Makefile. Faster compilation as well.

Revert b70cb0ef5e

That commit was misleading and ended up bloating the Utilities section.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-04 15:30:22 -07:00
Rosen Penev 23e019a37b
canutils: update to 2020.02.04
Removed upstream patch.

Alphabetized tools and added jcat tool.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-06 12:41:06 -08:00
Paulo Machado 1fa9e829c4 canutils: fix canutils makefile dependency
PKG_RELEASE bumped

Signed-off-by: Paulo Machado <pffmachado@yahoo.com>
2020-01-15 00:36:10 +00:00
Paulo Machado b70cb0ef5e canutils: fix canutils makefile dependency
DEPENDS attribute makes canutils fail on installation procedure

Removing it makes a successful build

Signed-off-by: Paulo Machado <pffmachado@yahoo.com>
2020-01-14 10:57:49 +00:00
Rosen Penev 5969273ff4
canutils: Switch to autotools instead of regular Makefile
The regular Makefile is totally broken and does not pass CFLAGS. This
breaks compilation with PKG_ASLR_PIE and also does not pass -Os.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-12 15:28:58 -08:00
Rosen Penev f9041ad9b7
can-utils: Update to 2018.02.0
Switched to codeload for simplicity.

Switched to PKG_INSTALL for consistency.

Added PKG_BUILD_PARALLEL for faster compilation.

Added extra utilities added by the newer version.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-11-06 14:51:23 -08:00
Sven Eckelmann bbb1ea7345 treewide: Change .*GPL.*+ licenses to SPDX compatible identifier
The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL
licenses. But a lot of packages did use a different, non-SPDX style with a
"+" at the end instead of "-or-later".

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-09-10 07:45:15 +02:00
Etienne Champetier 33b0879cfa canutils: fix PKG_MIRROR_HASH
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-09-22 21:53:40 -07:00
Yegor Yefremov a4194df8b7 canutils: bump version to cb33a55720716cbe01e6025a2bda74a1b7e492d3
Rework package recipe:

- use PKG_SOURCE_DATE
- use xz compression
- add hash
- get rid of PKG_SOURCE_SUBDIR/PKG_BUILD_DIR

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2017-03-22 13:00:02 +01:00
Yegor Yefremov 18b67b92b9 canutils: rework recipe
Don't group any utilities but just list them all as they are.

Fixes:
https://github.com/openwrt/packages/issues/3695

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2017-03-13 08:59:34 +01:00
Anton Glukhov 2664bacc50 canutils: add new package (fixes #1785)
Signed-off-by: Anton Glukhov <anton.a.glukhov@gmail.com>

[Minor fixes]
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2015-09-21 22:47:15 +02:00