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
+13
View File
@@ -0,0 +1,13 @@
config BR2_PACKAGE_UNRAR
bool "unrar"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_WCHAR
help
RAR file uncompressor.
http://www.rarlab.com/rar_add.htm
comment "unrar needs a toolchain w/ C++, wchar, threads"
depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP \
|| !BR2_TOOLCHAIN_HAS_THREADS
+3
View File
@@ -0,0 +1,3 @@
# Locally computed:
sha256 3d010d14223e0c7a385ed740e8f046edcbe885e5c22c5ad5733d009596865300 unrarsrc-5.9.4.tar.gz
sha256 6ecc1687808b7d66b24f874755abfed7464d9751ed0001cd4e8e5d9bf397ff8a license.txt
+24
View File
@@ -0,0 +1,24 @@
################################################################################
#
# unrar
#
################################################################################
UNRAR_VERSION = 5.9.4
UNRAR_SOURCE = unrarsrc-$(UNRAR_VERSION).tar.gz
UNRAR_SITE = https://www.rarlab.com/rar
UNRAR_LICENSE = unrar
UNRAR_LICENSE_FILES = license.txt
UNRAR_CPE_ID_VENDOR = rarlab
define UNRAR_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) CXX="$(TARGET_CXX)" STRIP="/bin/true" \
CXXFLAGS="$(TARGET_CXXFLAGS) -pthread" \
LDFLAGS="$(TARGET_LDFLAGS) -pthread" -C $(@D)
endef
define UNRAR_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR)/usr install
endef
$(eval $(generic-package))