libserialport: new package
[Peter: needs host-pkgconf, simplify pre configure hook] Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
083f853801
commit
e38e894f4d
@ -734,6 +734,7 @@ menu "Hardware handling"
|
|||||||
source "package/libraw1394/Config.in"
|
source "package/libraw1394/Config.in"
|
||||||
source "package/librtlsdr/Config.in"
|
source "package/librtlsdr/Config.in"
|
||||||
source "package/libserial/Config.in"
|
source "package/libserial/Config.in"
|
||||||
|
source "package/libserialport/Config.in"
|
||||||
source "package/libsoc/Config.in"
|
source "package/libsoc/Config.in"
|
||||||
source "package/libusb/Config.in"
|
source "package/libusb/Config.in"
|
||||||
source "package/libusb-compat/Config.in"
|
source "package/libusb-compat/Config.in"
|
||||||
|
8
package/libserialport/Config.in
Normal file
8
package/libserialport/Config.in
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
config BR2_PACKAGE_LIBSERIALPORT
|
||||||
|
bool "libserialport"
|
||||||
|
help
|
||||||
|
Serial port access library.
|
||||||
|
|
||||||
|
This library is a part of the sigrok software suite.
|
||||||
|
|
||||||
|
http://sigrok.org/wiki/Libserialport
|
23
package/libserialport/libserialport.mk
Normal file
23
package/libserialport/libserialport.mk
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# libserialport
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
LIBSERIALPORT_VERSION = e31f2c6b8b8f2b7e554df911cc9a3482b99632b4
|
||||||
|
# No https access on upstream git
|
||||||
|
LIBSERIALPORT_SITE = git://sigrok.org/libserialport
|
||||||
|
LIBSERIALPORT_LICENSE = LGPLv3+
|
||||||
|
LIBSERIALPORT_LICENSE_FILES = COPYING
|
||||||
|
# Git checkout has no configure script
|
||||||
|
LIBSERIALPORT_AUTORECONF = YES
|
||||||
|
LIBSERIALPORT_INSTALL_STAGING = YES
|
||||||
|
LIBSERIALPORT_DEPENDENCIES = host-pkgconf
|
||||||
|
|
||||||
|
define LIBSERIALPORT_ADD_MISSING
|
||||||
|
mkdir -p $(@D)/autostuff
|
||||||
|
endef
|
||||||
|
|
||||||
|
LIBSERIALPORT_PRE_CONFIGURE_HOOKS += LIBSERIALPORT_ADD_MISSING
|
||||||
|
|
||||||
|
$(eval $(autotools-package))
|
Loading…
Reference in New Issue
Block a user