Commit Graph

22 Commits

Author SHA1 Message Date
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 5356753283
libftdi: install libftdi-config to host
Helps old packages that don't use pkgconfig.

Fix wrong paths in config.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-07 21:20:44 -08:00
Rosen Penev 571b015fa2
libftdi1: update to 1.5
Fix libftdi1-config.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-03 13:53:39 -07:00
Stijn Tintel c131843663 libftdi1: disable building documentation
This fixes the following build failure:

[ 66%] Generating ../doc/xml/ftdi_8c.xml
warning: Tag 'PERL_PATH' at line 2083 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'MSCGEN_PATH' at line 2105 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
[ 72%] Generating ftdi1_doc.i
Traceback (most recent call last):
  File "/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/libftdi1-1.4/python/doxy2swig.py", line 457, in <module>
    main()
  File "/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/libftdi1-1.4/python/doxy2swig.py", line 453, in main
    convert(args[0], args[1], not options.func_def, options.quiet)
  File "/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/libftdi1-1.4/python/doxy2swig.py", line 430, in convert
    p = Doxy2SWIG(input, include_function_definition, quiet)
  File "/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/libftdi1-1.4/python/doxy2swig.py", line 72, in __init__
    f = my_open_read(src)
  File "/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/libftdi1-1.4/python/doxy2swig.py", line 44, in my_open_read
    return open(source)
FileNotFoundError: [Errno 2] No such file or directory: '/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/libftdi1-1.4/doc/xml/ftdi_8c.xml'

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Rosen Penev <rosenp@gmail.com>
2020-01-17 00:55:18 +02:00
Rosen Penev 0dac4b74ca
libftdi1: Fix pkgconfig paths properly
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-21 15:49:58 -07:00
Rosen Penev 762a0eeb79
libftdi1: Apply pkgconfig fixes to libftdipp1 as well
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-16 12:02:05 -07:00
Rosen Penev 180134d04c
libftdi1: Partially add back InstallDev
The pkgconfig file needs changing.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-16 10:44:38 -07:00
Rosen Penev 79168cc259
libftdi1: Remove faulty change from last patch
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-13 13:14:48 -07:00
Rosen Penev 2e12e13a3b
libftdi1: Don't build examples
Add PKG_BUILD_PARALLEL for faster compilation.

Replace InstallDev section with CMAKE_INSTALL

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-12 19:45:53 -07:00
Rosen Penev 7df84e7472 libftdi1: Fix compilation with most recent CMake
Description from Amol Bhave:

This package fails to compile with boost 1.70 when the boost cmake
config gets used.
As far as I can tell, Boost 1.70 introduced
BoostConfigVersion.cmake. In that file, the value of PACKAGE_VERSION is
set to 1.70. This makes CMake auto set the variable Boost_VERSION to
1.70. Historically, Boost_VERSION has been using the format like 170000,
and not 1.70. Some package cmake files still depend on this behavior
and make assertions such as Boost_VERSION > 168000. This is incompatible
with the new scheme.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-05-15 17:28:33 -07:00
Eneas U de Queiroz 0e9e060775 libftdi1: Fix compilation with cmake 3.12
Applied a patch submitted upstream that fixes a compilation error with
cmake >= 3.12 Error: Unable to find 'swig.swg' [...] 'python.swg'

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-07-31 18:12:28 -03:00
Álvaro Fernández Rojas f323fa432c libftdi1: update to v1.4
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2017-12-31 18:45:26 +01:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
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>
2017-08-29 21:41:14 -07:00
Álvaro Fernández Rojas 0a2cba338d libftdi: update to v1.3
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2016-06-01 17:51:13 +02:00
Jo-Philipp Wich 5c2689fe89 libftdi1: explicitely disable Boost unit tests
When libftdi1 is detecting the presence of the Boost unit testing framework,
it will conditionally enable the build of libftdi1 test binaries which fail to
link on some targets with the following error:

    CMakeFiles/test_libftdi1.dir/basic.cpp.o: In function `main':
    basic.cpp:(.text.startup+0xc): undefined reference to `boost::unit_test::unit_test_main(bool (*)(), int, char**)'
    collect2: error: ld returned 1 exit status
    test/CMakeFiles/test_libftdi1.dir/build.make:123: recipe for target 'test/test_libftdi1' failed
    make[6]: *** [test/test_libftdi1] Error 1

Since we do not care about test cases and since we want to avoid unpredictable
conditional compilation simply disable the testcases entirely.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-05-30 12:25:11 +02:00
Nicolas Thill fd2e9f0750 libftdi1: fix pkgconfig file
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-02-02 13:38:08 +01:00
Álvaro Fernández Rojas f58cd17867 libftdi: mode ftdi_eeprom from Libraries to Utilities
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2015-01-03 16:10:10 +01:00
Álvaro Fernández Rojas a42982c970 libftdi1: add libftdi1-config and ftdi_eeprom, simplify files copy
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2015-01-01 20:51:22 +01:00
Álvaro Fernández Rojas 39947d1f70 libftdi1: update to 1.2
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2014-11-25 19:27:05 +01:00
Steven Barth b349ec1d0e libftdi1: mark as non-MIPS16
Signed-off-by: Steven Barth <steven@midlink.org>
2014-08-08 13:11:06 +02:00
Álvaro Fernández Rojas 3db70e01a8 libftdi1: add new package.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2014-07-25 20:46:03 +02:00