At least on ar71xx, if libftdi finds Boost, it tries to compile C++ libraries and dies horribly on some bogus looking assembler instructions. Disabling boost allows libftdi to build.
Signed-off-by: Russell Senior <russ...@personaltelco.net> --- libs/libftdi/Makefile | 2 +- libs/libftdi/patches/200-disable_boost.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 libs/libftdi/patches/200-disable_boost.patch diff --git a/libs/libftdi/Makefile b/libs/libftdi/Makefile index 7bf5b2b..f35eb9d 100644 --- a/libs/libftdi/Makefile +++ b/libs/libftdi/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libftdi PKG_VERSION:=0.19 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.intra2net.com/en/developer/libftdi/download/ diff --git a/libs/libftdi/patches/200-disable_boost.patch b/libs/libftdi/patches/200-disable_boost.patch new file mode 100644 index 0000000..677a281 --- /dev/null +++ b/libs/libftdi/patches/200-disable_boost.patch @@ -0,0 +1,11 @@ +--- a/ftdipp/CMakeLists.txt ++++ b/ftdipp/CMakeLists.txt +@@ -16,7 +16,7 @@ if (FTDIPP) + set(cpp_headers ftdi.hpp) + + # Find Boost +- find_package(Boost) ++ # find_package(Boost) + if(Boost_FOUND) + set(FTDI_BUILD_CPP True PARENT_SCOPE) + message(STATUS "Building libftdi++") -- 1.8.3.2 -- Russell Senior, President russ...@personaltelco.net _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel