initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
config BR2_PACKAGE_VDR
bool "vdr"
depends on BR2_INSTALL_LIBSTDCPP
depends on !BR2_STATIC_LIBS
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
depends on BR2_TOOLCHAIN_USES_GLIBC # execinfo.h
depends on BR2_USE_MMU # fork()
depends on BR2_USE_WCHAR
select BR2_PACKAGE_FONTCONFIG
select BR2_PACKAGE_FREETYPE
select BR2_PACKAGE_JPEG
select BR2_PACKAGE_LIBCAP
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
help
This project describes how to build your own digital
satellite receiver and Video Disk Recorder.
http://www.tvdr.de
comment "vdr needs a glibc toolchain w/ C++, dynamic library, NPTL, wchar, headers >= 3.9"
depends on BR2_USE_MMU
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
!BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
!BR2_TOOLCHAIN_USES_GLIBC || !BR2_USE_WCHAR || \
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
+3
View File
@@ -0,0 +1,3 @@
# Locally computed
sha256 27026b78a663758211d15c83a21555e28d91ab640c6d4f6cdd860f2abf1cae84 vdr-2.5.6.tar.gz
sha256 ddb9db7630752f8fdc6898f7c99a99eaeeac5213627ecb093df9c82f56175dc7 COPYING
+61
View File
@@ -0,0 +1,61 @@
################################################################################
#
# vdr
#
################################################################################
VDR_VERSION = 2.5.6
VDR_SITE = $(call github,vdr-projects,vdr,$(VDR_VERSION))
VDR_LICENSE = GPL-2.0+
VDR_LICENSE_FILES = COPYING
VDR_CPE_ID_VENDOR = tvdr
VDR_INSTALL_STAGING = YES
VDR_DEPENDENCIES = \
host-pkgconf \
freetype \
fontconfig \
jpeg \
libcap \
$(TARGET_NLS_DEPENDENCIES)
VDR_MAKE_FLAGS = \
NO_KBD=yes \
PKG_CONFIG=$(PKG_CONFIG_HOST_BINARY) \
PLUGINLIBDIR=/usr/lib/vdr \
PREFIX=/usr \
VIDEODIR=/var/lib/vdr
VDR_LDFLAGS = $(TARGET_NLS_LIBS)
ifeq ($(BR2_PACKAGE_LIBFRIBIDI),y)
VDR_DEPENDENCIES += libfribidi
VDR_MAKE_FLAGS += BIDI=1
endif
ifeq ($(BR2_PACKAGE_LIBICONV),y)
VDR_DEPENDENCIES += libiconv
VDR_LDFLAGS += -liconv
endif
VDR_MAKE_ENV = \
LDFLAGS="$(VDR_LDFLAGS)" \
$(VDR_MAKE_FLAGS)
define VDR_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) $(VDR_MAKE_ENV) \
vdr vdr.pc include-dir
endef
define VDR_INSTALL_STAGING_CMDS
$(MAKE1) $(TARGET_CONFIGURE_OPTS) -C $(@D) $(VDR_MAKE_ENV) \
DESTDIR=$(STAGING_DIR) \
install-dirs install-bin install-conf install-includes \
install-pc
endef
define VDR_INSTALL_TARGET_CMDS
$(MAKE1) $(TARGET_CONFIGURE_OPTS) -C $(@D) $(VDR_MAKE_ENV) \
DESTDIR=$(TARGET_DIR) \
install-dirs install-bin install-conf
endef
$(eval $(generic-package))