Initial Commit
- initial default booting image
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
From 90845a3a263e0f37b9c756c0b01377b9d1a225c9 Mon Sep 17 00:00:00 2001
|
||||
From: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
Date: Sun, 31 Jul 2016 10:37:05 +0200
|
||||
Subject: [PATCH] vpx_mem/vpx_mem.h: do not include <lddk.h>
|
||||
|
||||
The <lddk.h> header does not exist in most C libraries, and including
|
||||
it causes build failures.
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
---
|
||||
vpx_mem/vpx_mem.h | 3 ---
|
||||
1 file changed, 3 deletions(-)
|
||||
|
||||
diff --git a/vpx_mem/vpx_mem.h b/vpx_mem/vpx_mem.h
|
||||
index c14f288..82df745 100644
|
||||
--- a/vpx_mem/vpx_mem.h
|
||||
+++ b/vpx_mem/vpx_mem.h
|
||||
@@ -12,9 +12,6 @@
|
||||
#define VPX_VPX_MEM_VPX_MEM_H_
|
||||
|
||||
#include "vpx_config.h"
|
||||
-#if defined(__uClinux__)
|
||||
-#include <lddk.h>
|
||||
-#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stddef.h>
|
||||
--
|
||||
2.8.1
|
||||
|
||||
11
package/libvpx/Config.in
Normal file
11
package/libvpx/Config.in
Normal file
@@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_LIBVPX
|
||||
bool "libvpx"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_setname_np()
|
||||
help
|
||||
A high-quality, open video format that's freely available to
|
||||
everyone. Supports the VP8 and VP9 formats.
|
||||
|
||||
http://webmproject.org
|
||||
|
||||
comment "libvpx needs a toolchain w/ NPTL"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
4
package/libvpx/libvpx.hash
Normal file
4
package/libvpx/libvpx.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# Locally computed:
|
||||
sha256 7a479a3c66b9f5d5542a4c6a1b7d3768a983b1e5c14c60a9396edc9b649e015c libvpx-1.16.0.tar.gz
|
||||
sha256 8267348d5af1262c11d1a08de2f5afc77457755f1ac658627dd9acf71011d615 LICENSE
|
||||
sha256 cc3273e0694ea5896145e0677699b53471b03ea43021ddc50e7923fbb9f5023c PATENTS
|
||||
58
package/libvpx/libvpx.mk
Normal file
58
package/libvpx/libvpx.mk
Normal file
@@ -0,0 +1,58 @@
|
||||
################################################################################
|
||||
#
|
||||
# libvpx
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBVPX_VERSION = 1.16.0
|
||||
LIBVPX_SITE = $(call github,webmproject,libvpx,v$(LIBVPX_VERSION))
|
||||
LIBVPX_LICENSE = BSD-3-Clause
|
||||
LIBVPX_LICENSE_FILES = LICENSE PATENTS
|
||||
LIBVPX_CPE_ID_VENDOR = webmproject
|
||||
LIBVPX_INSTALL_STAGING = YES
|
||||
|
||||
# ld is being used with cc options. therefore, pretend ld is cc.
|
||||
LIBVPX_CONF_ENV = \
|
||||
LD="$(TARGET_CC)" \
|
||||
CROSS=$(GNU_TARGET_NAME)
|
||||
|
||||
LIBVPX_CONF_OPTS = \
|
||||
--disable-examples \
|
||||
--disable-docs \
|
||||
--disable-unit-tests
|
||||
|
||||
# vp8/ratectrl_rtc.cc vp9/ratectrl_rtc.cc
|
||||
ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
|
||||
LIBVPX_CONF_OPTS += --enable-vp8-encoder --enable-vp9-encoder
|
||||
else
|
||||
LIBVPX_CONF_OPTS += --disable-vp8-encoder --disable-vp9-encoder
|
||||
endif
|
||||
|
||||
# This is not a true autotools package. It is based on the ffmpeg build system
|
||||
define LIBVPX_CONFIGURE_CMDS
|
||||
(cd $(LIBVPX_SRCDIR) && rm -rf config.cache && \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
$(LIBVPX_CONF_ENV) \
|
||||
./configure \
|
||||
--target=generic-gnu \
|
||||
--enable-pic \
|
||||
--prefix=/usr \
|
||||
$(SHARED_STATIC_LIBS_OPTS) \
|
||||
$(LIBVPX_CONF_OPTS) \
|
||||
)
|
||||
endef
|
||||
|
||||
define LIBVPX_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(LIBVPX_MAKE_ENV) $(MAKE) -C $(@D) all
|
||||
endef
|
||||
|
||||
define LIBVPX_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(LIBVPX_MAKE_ENV) $(MAKE) DESTDIR="$(STAGING_DIR)" -C $(@D) install
|
||||
endef
|
||||
|
||||
define LIBVPX_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(LIBVPX_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D) install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user