Move all to deprecated folder.

This commit is contained in:
2016-11-16 21:57:57 +01:00
parent 01738a7684
commit 05de7d6c04
9777 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
From c36db3f798bf576f42d81a0c51198b17d7112e8c Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date: Sat, 8 Aug 2015 17:43:28 +0200
Subject: [PATCH] Do not use the non-standard <sys/cdefs.h> header
<sys/cdefs.h> is glibc-specific, and should be used only internally by
glibc, not by external libraries/programs. It is not available in all
standard C libraries.
Submitted upstream: https://sourceforge.net/p/bcusdk/patches/3/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
eibd/include/eibclient.h | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/eibd/include/eibclient.h b/eibd/include/eibclient.h
index 2781878..b095a1c 100644
--- a/eibd/include/eibclient.h
+++ b/eibd/include/eibclient.h
@@ -27,10 +27,11 @@
#ifndef EIBCLIENT_H
#define EIBCLIENT_H
-#include <sys/cdefs.h>
#include <stdint.h>
-__BEGIN_DECLS;
+#ifdef __cplusplus
+extern "C" {
+#endif
#include "eibloadresult.h"
@@ -889,5 +890,9 @@ int EIB_Cache_LastUpdates_async (EIBConnection * con, uint16_t start,
uint16_t * end);
-__END_DECLS
+
+#ifdef __cplusplus
+}
+#endif
+
#endif
--
2.5.0

View File

@@ -0,0 +1,31 @@
From 2541ee3d709803096b17e45610ccc1404e2e5eee Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date: Sat, 8 Aug 2015 17:46:34 +0200
Subject: [PATCH] fd_set requires inclusion of <sys/select.h>
According to POSIX.1-2001, the definition fd_set and related macros is
in <sys/select.h>, so it should be included in files using fd_set to
make the code compatible with all standard C libraries.
Submitted upstream: https://sourceforge.net/p/bcusdk/patches/3/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
eibd/examples/common.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/eibd/examples/common.h b/eibd/examples/common.h
index 51fc514..f038da1 100644
--- a/eibd/examples/common.h
+++ b/eibd/examples/common.h
@@ -20,6 +20,7 @@
#include <stdlib.h>
#include <errno.h>
#include <unistd.h>
+#include <sys/select.h>
#include "eibclient.h"
/** unsigned char*/
--
2.5.0

View File

@@ -0,0 +1,25 @@
config BR2_PACKAGE_BCUSDK
bool "bcusdk"
depends on BR2_USE_MMU # libpthsem
depends on BR2_INSTALL_LIBSTDCPP
select BR2_PACKAGE_LIBPTHSEM
select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL
help
A free development environment for the Bus Coupling Units of
the European Installation Bus.
The European Installation Bus EIB is a home and building
automation bus system. It is optimized for low-speed control
applications like lighting and blinds control.
BCUs (Bus Coupling Units) are standardized, generic
platforms for embedded EIB devices. They include the entire
physical layer network interface, power supply and a
microcontroller with an implementation of the EIB protocol
stack stored in the ROM.
http://www.auto.tuwien.ac.at/~mkoegler/eib/
comment "bcusdk needs a toolchain w/ C++"
depends on BR2_USE_MMU
depends on !BR2_INSTALL_LIBSTDCPP

View File

@@ -0,0 +1,2 @@
# Locally calculated
sha256 014cdaafc36f223c584b39ae5d698dd037a8e15aba4e78a2e531b51ff1331304 bcusdk_0.0.5.tar.gz

View File

@@ -0,0 +1,34 @@
################################################################################
#
# bcusdk
#
################################################################################
BCUSDK_VERSION = 0.0.5
BCUSDK_SOURCE = bcusdk_$(BCUSDK_VERSION).tar.gz
BCUSDK_SITE = http://www.auto.tuwien.ac.at/~mkoegler/eib
BCUSDK_LICENSE = GPLv2+
BCUSDK_LICENSE_FILES = COPYING
BCUSDK_INSTALL_STAGING = YES
BCUSDK_CONF_OPTS = \
--enable-onlyeibd \
--enable-ft12 \
--enable-pei16 \
--enable-eibnetip \
--enable-eibnetipserver \
--enable-eibnetiptunnel \
--without-pth-test \
--with-pth=$(STAGING_DIR)/usr
BCUSDK_DEPENDENCIES = \
libpthsem \
$(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone)
define BCUSDK_REMOVE_EXAMPLES
$(RM) -rf $(TARGET_DIR)/usr/share/bcusdk
endef
BCUSDK_POST_INSTALL_TARGET_HOOKS += BCUSDK_REMOVE_EXAMPLES
$(eval $(autotools-package))