Update buidlroot to version 2016.08.1

This commit is contained in:
2016-11-16 22:07:29 +01:00
parent 807ab03547
commit a1061efbc2
3636 changed files with 59539 additions and 25783 deletions

View File

@@ -0,0 +1,47 @@
From ff6d4326f839321c079d60ae9301c6202942f675 Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date: Sat, 27 Aug 2016 14:31:04 +0200
Subject: [PATCH] Include <stdint.h> where needed
The {u,}int{8,16,32}_t types are defined in <stdint.h>, so it should be
included when such types are used.
Not including <stdint.h> might work by accident with some C libraries
due to it being included by other headers, but it for example causes
build failures with the musl C library.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Upstream-status: https://github.com/mdrjr/c2_aml_libs/pull/1
---
amadec/audio-dec.h | 1 +
amavutils/include/Amvideoutils.h | 2 ++
2 files changed, 3 insertions(+)
diff --git a/amadec/audio-dec.h b/amadec/audio-dec.h
index 4325fe4..ac0f36b 100644
--- a/amadec/audio-dec.h
+++ b/amadec/audio-dec.h
@@ -12,6 +12,7 @@
#define AUDIO_DEC_H
#include<pthread.h>
+#include <stdint.h>
#include <audio-out.h>
#include <audiodsp.h>
diff --git a/amavutils/include/Amvideoutils.h b/amavutils/include/Amvideoutils.h
index 6f978e4..94f10a6 100644
--- a/amavutils/include/Amvideoutils.h
+++ b/amavutils/include/Amvideoutils.h
@@ -5,6 +5,8 @@
extern "C" {
#endif
+#include <stdint.h>
+
#define HDMI_HDCP_PASS (1)
#define HDMI_HDCP_FAILED (0)
#define HDMI_NOCONNECT (-1)
--
2.7.4

View File

@@ -0,0 +1,14 @@
comment "libamcodec needs a toolchain w/ threads, dynamic library"
depends on BR2_arm || BR2_aarch64
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
config BR2_PACKAGE_LIBAMCODEC
bool "libamcodec"
depends on BR2_arm || BR2_aarch64
depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
depends on !BR2_STATIC_LIBS # dlfcn.h
select BR2_PACKAGE_ALSA_LIB
help
Interface library for Amlogic media codecs
https://github.com/mdrjr/c2_aml_libs.git

View File

@@ -0,0 +1,2 @@
# Locally computed hash
sha256 5e4a1157e75f802585445df55182b5ef123f635b7faca95fbda3f7cdef8bad1c libamcodec-6f9b99182f94be14fce785c75aa1e9bce868e229.tar.gz

View File

@@ -0,0 +1,36 @@
################################################################################
#
# libamcodec
#
################################################################################
LIBAMCODEC_VERSION = 6f9b99182f94be14fce785c75aa1e9bce868e229
LIBAMCODEC_SITE = $(call github,mdrjr,c2_aml_libs,$(LIBAMCODEC_VERSION))
LIBAMCODEC_DEPENDENCIES = alsa-lib
LIBAMCODEC_LICENSE = Unclear
LIBAMCODEC_INSTALL_STAGING = YES
# This package uses the AML_LIBS_STAGING_DIR variable to construct the
# header and library paths used when compiling
define LIBAMCODEC_BUILD_CMDS
$(foreach d,amavutils amadec amcodec,\
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
-C $(@D)/$(d) AML_LIBS_STAGING_DIR=$(STAGING_DIR)
)
endef
define LIBAMCODEC_INSTALL_STAGING_CMDS
$(INSTALL) -D -m 0755 $(@D)/amavutils/libamavutils.so $(STAGING_DIR)/usr/lib/libamavutils.so
$(INSTALL) -D -m 0555 $(@D)/amadec/libamadec.so $(STAGING_DIR)/usr/lib/libamadec.so
$(INSTALL) -D -m 0555 $(@D)/amcodec/libamcodec.so $(STAGING_DIR)/usr/lib/libamcodec.so
mkdir -p $(STAGING_DIR)/usr/include/amcodec
cp -rf $(@D)/amcodec/include/* $(STAGING_DIR)/usr/include/amcodec
endef
define LIBAMCODEC_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/amavutils/libamavutils.so $(TARGET_DIR)/usr/lib/libamavutils.so
$(INSTALL) -D -m 0555 $(@D)/amadec/libamadec.so $(TARGET_DIR)/usr/lib/libamadec.so
$(INSTALL) -D -m 0555 $(@D)/amcodec/libamcodec.so $(TARGET_DIR)/usr/lib/libamcodec.so
endef
$(eval $(generic-package))