Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

39
package/p7zip/Config.in Normal file
View File

@@ -0,0 +1,39 @@
config BR2_PACKAGE_P7ZIP
bool "p7zip"
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrisics
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_WCHAR
help
p7zip is a quick port of the command line version of 7-zip
for Unix (see http://www.7-zip.org)
7-Zip is a file archiver with highest compression ratio.
https://github.com/p7zip-project/p7zip
if BR2_PACKAGE_P7ZIP
choice
prompt "p7zip binary"
default BR2_PACKAGE_P7ZIP_7ZR
config BR2_PACKAGE_P7ZIP_7ZA
bool "7za"
help
Full 7za archiver. The program supports 7z, ZIP, CAB, ARJ,
GZIP, BZIP2, TAR, CPIO, RPM and DEB formats
config BR2_PACKAGE_P7ZIP_7ZR
bool "7zr"
help
Lightweight 7zr archiver. The program only handles 7z archives
and cannot handle encrypted archives
endchoice
endif
comment "p7zip needs a toolchain w/ threads, wchar, C++"
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP

3
package/p7zip/p7zip.hash Normal file
View File

@@ -0,0 +1,3 @@
# Locally calculated
sha256 c35640020e8f044b425d9c18e1808ff9206dc7caf77c9720f57eb0849d714cd1 p7zip-17.06.tar.gz
sha256 555806657dcf0f1e720b581c52643c195ec86ae3f00bd18cc66d2e0f88ffa210 DOC/License.txt

34
package/p7zip/p7zip.mk Normal file
View File

@@ -0,0 +1,34 @@
################################################################################
#
# p7zip
#
################################################################################
P7ZIP_VERSION = 17.06
P7ZIP_SITE = $(call github,p7zip-project,p7zip,v$(P7ZIP_VERSION))
P7ZIP_LICENSE = LGPL-2.1+ with unRAR restriction
P7ZIP_LICENSE_FILES = DOC/License.txt
P7ZIP_CPE_ID_VENDOR = 7-zip
ifeq ($(BR2_PACKAGE_P7ZIP_7ZA),y)
P7ZIP_TARGET = 7za
else
P7ZIP_TARGET = 7zr
endif
# p7zip buildsystem is a mess: it plays dirty tricks with CFLAGS and
# CXXFLAGS, so we can't pass them. Instead, it accepts ALLFLAGS_C
# and ALLFLAGS_CPP as variables to pass the CFLAGS and CXXFLAGS.
define P7ZIP_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" ALLFLAGS_C="$(TARGET_CFLAGS)" \
CXX="$(TARGET_CXX)" ALLFLAGS_CPP="$(TARGET_CXXFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
-C $(@D) $(P7ZIP_TARGET)
endef
define P7ZIP_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/bin/$(P7ZIP_TARGET) \
$(TARGET_DIR)/usr/bin/$(P7ZIP_TARGET)
endef
$(eval $(generic-package))