mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
26
package/libserialport/0001-uclinux-detection.patch
Normal file
26
package/libserialport/0001-uclinux-detection.patch
Normal file
@@ -0,0 +1,26 @@
|
||||
From faab9aa5879fab93556b7a3a6f24070eeb3cbf15 Mon Sep 17 00:00:00 2001
|
||||
From: Paul Cercueil <paul.cercueil@analog.com>
|
||||
Date: Mon, 29 Aug 2016 11:11:01 +0200
|
||||
Subject: [PATCH] Fix Linux files not compiled in with a toolchain for ucLinux
|
||||
|
||||
Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index f6b66e8..de6f5b9 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -74,7 +74,7 @@ AC_DEFINE_UNQUOTED([SP_LIB_VERSION_REVISION], [$SP_LIB_VERSION_REVISION], [.])
|
||||
AC_DEFINE_UNQUOTED([SP_LIB_VERSION_AGE], [$SP_LIB_VERSION_AGE], [.])
|
||||
AC_DEFINE_UNQUOTED([SP_LIB_VERSION_STRING], ["$SP_LIB_VERSION"], [.])
|
||||
|
||||
-AM_CONDITIONAL([LINUX], [test -z "${host_os##linux*}"])
|
||||
+AM_CONDITIONAL([LINUX], [test -z "${host_os##linux*}" || test -z "${host_os##uclinux*}"])
|
||||
AM_CONDITIONAL([WIN32], [test -z "${host_os##mingw*}" || test -z "${host_os##cygwin*}"])
|
||||
AM_CONDITIONAL([MACOSX], [test -z "${host_os##darwin*}"])
|
||||
AM_CONDITIONAL([FREEBSD], [test -z "${host_os##freebsd*}"])
|
||||
--
|
||||
2.8.1
|
||||
|
||||
9
package/libserialport/Config.in
Normal file
9
package/libserialport/Config.in
Normal file
@@ -0,0 +1,9 @@
|
||||
config BR2_PACKAGE_LIBSERIALPORT
|
||||
bool "libserialport"
|
||||
help
|
||||
Libserialport is a minimal, cross-platform shared
|
||||
library written in C that is intended to take care
|
||||
of the OS-specific details when writing software
|
||||
that uses serial ports.
|
||||
|
||||
http://sigrok.org/wiki/Libserialport
|
||||
2
package/libserialport/libserialport.hash
Normal file
2
package/libserialport/libserialport.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally computed
|
||||
sha256 4a2af9d9c3ff488e92fb75b4ba38b35bcf9b8a66df04773eba2a7bbf1fa7529d libserialport-0.1.1.tar.gz
|
||||
15
package/libserialport/libserialport.mk
Normal file
15
package/libserialport/libserialport.mk
Normal file
@@ -0,0 +1,15 @@
|
||||
################################################################################
|
||||
#
|
||||
# libserialport
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBSERIALPORT_VERSION = 0.1.1
|
||||
LIBSERIALPORT_SITE = http://sigrok.org/download/source/libserialport
|
||||
LIBSERIALPORT_LICENSE = LGPL-3.0+
|
||||
LIBSERIALPORT_LICENSE_FILES = COPYING
|
||||
LIBSERIALPORT_INSTALL_STAGING = YES
|
||||
LIBSERIALPORT_DEPENDENCIES = host-pkgconf
|
||||
LIBSERIALPORT_AUTORECONF = YES
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user