Commit Graph

15 Commits

Author SHA1 Message Date
Christian Marangi 70802c9b80 telldus-core: fix support for CMake >= 4.0 and move to libftdi1
Add 2 trivial patch to fix support for CMake 4.0 version and use
libftdi1 library instead of the old libftdi 0.x library.

It's safe to use the new library version as the package already expect
it to be used but somehow the CMakeFiles were never updated to actually
use libftdi1 instead of libftdi.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-11-18 13:54:25 +01:00
Rosen Penev 20ab70dbd8 telldus-core: add missing include
Needed for memset.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-09-18 22:57:43 -07:00
Rosen Penev 0f9d3c4275 telldus-core: use proper cmake argp
Avoids linking to argp-standalone with glibc.

Some other minor fixes.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-05-14 21:55:30 -07:00
Rosen Penev 1cebb8e278 telldus-core: fix compilation with GCC11
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-11 00:26:35 -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 Lipnitskiy 5d8d4fbbcb treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Rosen Penev 805e00a78d telldus-core: replace iconv with standard C++
Avoids iconv dependency.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-28 02:35:37 -07:00
Rosen Penev d7b6c3ac60 telldus-core: remove freebsd hack
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-28 23:16:59 -07:00
Rosen Penev e7094f3ef7 telldus-core: fix compilation with libcxx 10
Missing headers and wrong namespace.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-06-02 16:03:32 -07:00
Peter Liedholm 2a36c0421e telldus-core: Doxygen in-file was not found.
Signed-off-by: Peter Liedholm <PeterFromSwe884@gmail.com>
2019-10-29 11:19:54 +01:00
Rosen Penev 2cff5b6563 telldus-core: Fix compilation without usleep
Uses C++11's sleep_for, which internally uses nanosleep.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-10-04 13:23:33 -07:00
Rosen Penev 8a977c8b6e telldus-core: Makefile cleanups
Fixed license information.

Add PKG_BUILD_PARALLEL to explicitly disable parallel builds.

Fixed build depends to apply only to non glibc.

Added an alternative fix to ICONV_FULL which should work better.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-10-04 13:23:03 -07:00
Rosen Penev 654d857536 telldus-core: Fix compilation with full NLS
-fpermissive is needed due to mismatching parameters (const char vs char).

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-05-12 00:40:27 -07:00
Peter Liedholm 03f255c9f0 telldus-core: Add new package.
Signed-off-by: Peter Liedholm <PeterFromSwe884@gmail.com>
2019-03-01 21:19:45 +01:00