mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
Merge pull request #8997 from neheb/fd1
libftdi1: Fix compilation with most recent CMake
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=libftdi1
|
PKG_NAME:=libftdi1
|
||||||
PKG_VERSION:=1.4
|
PKG_VERSION:=1.4
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=http://www.intra2net.com/en/developer/libftdi/download/
|
PKG_SOURCE_URL:=http://www.intra2net.com/en/developer/libftdi/download/
|
||||||
@@ -22,8 +22,6 @@ PKG_LICENSE_FILES:=COPYING.LIB
|
|||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
PKG_USE_MIPS16:=0
|
PKG_USE_MIPS16:=0
|
||||||
|
|
||||||
CMAKE_OPTIONS:=-DBUILD_TESTS=OFF
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
include $(INCLUDE_DIR)/cmake.mk
|
include $(INCLUDE_DIR)/cmake.mk
|
||||||
|
|
||||||
@@ -60,6 +58,10 @@ define Package/ftdi_eeprom/description
|
|||||||
read. Otherwise, you will still get the old values.
|
read. Otherwise, you will still get the old values.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
CMAKE_OPTIONS:= \
|
||||||
|
-DBUILD_TESTS=OFF \
|
||||||
|
-DBoost_NO_BOOST_CMAKE=ON
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/include/libftdi1/
|
$(INSTALL_DIR) $(1)/usr/include/libftdi1/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/libftdi1/ftdi.h $(1)/usr/include/libftdi1/
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/libftdi1/ftdi.h $(1)/usr/include/libftdi1/
|
||||||
|
|||||||
Reference in New Issue
Block a user