Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
From 369ffb5be23eca520df99732541d0482da271fd3 Mon Sep 17 00:00:00 2001
|
||||
From: Lars Op den Kamp <lars@opdenkamp.eu>
|
||||
Date: Sat, 11 Jul 2015 00:53:17 +0200
|
||||
Subject: [PATCH] fixed: don't generate an invalid env.h when not built with
|
||||
the .git dir present. closes #112
|
||||
|
||||
Backported from upstream commit 2f32a9debc1f148b5dfcfc463480f1432bb71725.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
---
|
||||
support/git-rev.sh | 7 +++++--
|
||||
1 file changed, 5 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/support/git-rev.sh b/support/git-rev.sh
|
||||
index 5dce3d0..4aadae6 100755
|
||||
--- a/support/git-rev.sh
|
||||
+++ b/support/git-rev.sh
|
||||
@@ -1,5 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
## cmake doesn't read the variable when it doesn't end with a newline, and I haven't figured out how to have it add a newline directly...
|
||||
-echo -n "`git --no-pager log --abbrev=7 -n 1 --pretty=format:"%h"`\n"
|
||||
-
|
||||
+if [ -d .git ]; then
|
||||
+ echo "`git --no-pager log --abbrev=7 -n 1 --pretty=format:"%h"`"
|
||||
+else
|
||||
+ echo "<unknown>"
|
||||
+fi
|
||||
--
|
||||
2.5.0
|
||||
|
||||
19
deprecated/firmware/buildroot/package/libcec/Config.in
Normal file
19
deprecated/firmware/buildroot/package/libcec/Config.in
Normal file
@@ -0,0 +1,19 @@
|
||||
config BR2_PACKAGE_LIBCEC
|
||||
bool "libcec"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
|
||||
select BR2_PACKAGE_LIBPLATFORM
|
||||
help
|
||||
libcec allows you in combination with the right hardware to
|
||||
control your home theater devices with your TV remote
|
||||
control utilizing existing HDMI cabling.
|
||||
|
||||
http://libcec.pulse-eight.com
|
||||
|
||||
comment "libcec needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 4.7"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_USE_WCHAR || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \
|
||||
BR2_STATIC_LIBS
|
||||
41
deprecated/firmware/buildroot/package/libcec/libcec.mk
Normal file
41
deprecated/firmware/buildroot/package/libcec/libcec.mk
Normal file
@@ -0,0 +1,41 @@
|
||||
################################################################################
|
||||
#
|
||||
# libcec
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBCEC_VERSION = libcec-3.0.1
|
||||
LIBCEC_SITE = $(call github,Pulse-Eight,libcec,$(LIBCEC_VERSION))
|
||||
LIBCEC_LICENSE = GPLv2+
|
||||
LIBCEC_LICENSE_FILES = COPYING
|
||||
|
||||
# Autoreconf required due to being a dev tarball and not a release tarball.
|
||||
LIBCEC_AUTORECONF = YES
|
||||
LIBCEC_INSTALL_STAGING = YES
|
||||
LIBCEC_DEPENDENCIES = host-pkgconf libplatform
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LOCKDEV),y)
|
||||
LIBCEC_DEPENDENCIES += lockdev
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
||||
LIBCEC_DEPENDENCIES += udev
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y)
|
||||
LIBCEC_DEPENDENCIES += host-swig $(if $(BR2_PACKAGE_PYTHON3),python3,python)
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
|
||||
LIBCEC_DEPENDENCIES += rpi-userland
|
||||
LIBCEC_CONF_OPTS += \
|
||||
-DCMAKE_C_FLAGS="-lvcos -lvchiq_arm" \
|
||||
-DCMAKE_CXX_FLAGS="-I$(STAGING_DIR)/usr/include/interface/vmcs_host/linux \
|
||||
-I$(STAGING_DIR)/usr/include/interface/vcos/pthreads"
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y)
|
||||
LIBCEC_DEPENDENCIES += xlib_libXrandr
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user