Bump buildroot to 2019.02
This commit is contained in:
29
bsp/buildroot/package/libftdi1/0004-cmake-find-swig.patch
Normal file
29
bsp/buildroot/package/libftdi1/0004-cmake-find-swig.patch
Normal file
@@ -0,0 +1,29 @@
|
||||
From fcda9c6a208d3a7fe651ef661b2eb6e462a89c17 Mon Sep 17 00:00:00 2001
|
||||
From: Eneas U de Queiroz <cote2004-github@yahoo.com>
|
||||
Date: Tue, 31 Jul 2018 17:44:57 -0300
|
||||
Subject: [PATCH] CMake: use find_package (SWIG) for cmake >= 3.0.0
|
||||
|
||||
There's a workaround for a bug (fixed in cmake 3.0.0) that does not
|
||||
work in CMake 3.12. Only use the workaround with cmake < 3.0.0.
|
||||
|
||||
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
|
||||
[Mark: patch retrieved and updated from
|
||||
http://developer.intra2net.com/git/?p=libftdi;a=commit;h=fcda9c6a208d3a7fe651ef661b2eb6e462a89c17]
|
||||
Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>
|
||||
[Update patch to make it work with cmake < 3.7:
|
||||
http://developer.intra2net.com/mailarchive/html/libftdi/2019/msg00009.html]
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt
|
||||
index 31ef1c6..eefc344 100644
|
||||
--- a/python/CMakeLists.txt
|
||||
+++ b/python/CMakeLists.txt
|
||||
@@ -3,7 +3,7 @@ option ( LINK_PYTHON_LIBRARY "Link against python libraries" ON )
|
||||
|
||||
if ( PYTHON_BINDINGS )
|
||||
# workaround for cmake bug #0013449
|
||||
- if ( NOT DEFINED CMAKE_FIND_ROOT_PATH )
|
||||
+ if ( NOT DEFINED CMAKE_FIND_ROOT_PATH OR NOT CMAKE_VERSION VERSION_LESS 3.0.0 )
|
||||
find_package ( SWIG )
|
||||
else ()
|
||||
find_program ( SWIG_EXECUTABLE NAMES swig2.0 swig )
|
||||
@@ -1,3 +1,8 @@
|
||||
# Locally computed after checking the signature
|
||||
# https://www.intra2net.com/en/developer/libftdi/download/libftdi1-1.4.tar.bz2.sig
|
||||
sha256 ec36fb49080f834690c24008328a5ef42d3cf584ef4060f3a35aa4681cb31b74 libftdi1-1.4.tar.bz2
|
||||
|
||||
# Hash for license files:
|
||||
sha256 524f46428bf72bb8c6acfeca4909551fd2e0bdbb5305406d38382f4056095c56 LICENSE
|
||||
sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING.GPL
|
||||
sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING.LIB
|
||||
|
||||
Reference in New Issue
Block a user