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

45
package/pugixml/Config.in Normal file
View File

@@ -0,0 +1,45 @@
config BR2_PACKAGE_PUGIXML
bool "pugixml"
depends on BR2_INSTALL_LIBSTDCPP
help
Light-weight, simple and fast XML parser for C++ with XPath
support
Features:
* DOM-like interface with rich traversal/modification
capabilities
* Extremely fast non-validating XML parser which constructs
the DOM tree from an XML file/buffer
* XPath 1.0 implementation for complex data-driven tree
queries
* Full Unicode support with Unicode interface variants and
automatic encoding conversions
http://pugixml.org/
https://github.com/zeux/pugixml
if BR2_PACKAGE_PUGIXML
config BR2_PACKAGE_PUGIXML_XPATH_SUPPORT
bool "Enable XPath support"
default y
help
When disabled, both XPath interfaces and XPath implementation
are excluded from compilation. This option is provided in case
you do not need XPath functionality and need to save code
space.
config BR2_PACKAGE_PUGIXML_COMPACT
bool "Enable compact mode"
help
Activates a different internal representation of document
storage that is much more memory efficient for documents with
a lot of markup (i.e. nodes and attributes), but is slightly
slower to parse and access.
http://pugixml.org/docs/manual.html#dom.memory.compact
endif
comment "pugixml needs a toolchain w/ C++"
depends on !BR2_INSTALL_LIBSTDCPP

View File

@@ -0,0 +1,4 @@
# From https://github.com/zeux/pugixml/releases/tag/v1.16
sha256 4cee1ca4aad395170f4c7a07824f3bdd41f28316c6e1e1090a1425b278ec0b4b pugixml-1.16.tar.gz
# Locally computed:
sha256 90974fbb120e966b452654eaae3ba6ee55f3647db3b28918a7649733ee99da97 LICENSE.md

View File

@@ -0,0 +1,41 @@
################################################################################
#
# pugixml
#
################################################################################
PUGIXML_VERSION = 1.16
PUGIXML_SITE = https://github.com/zeux/pugixml/releases/download/v$(PUGIXML_VERSION)
PUGIXML_LICENSE = MIT
PUGIXML_LICENSE_FILES = LICENSE.md
PUGIXML_CPE_ID_VALID = YES
PUGIXML_INSTALL_STAGING = YES
ifeq ($(BR2_PACKAGE_PUGIXML_XPATH_SUPPORT),y)
PUGIXML_CONF_OPTS += -DPUGIXML_NO_XPATH=OFF
else
PUGIXML_CONF_OPTS += -DPUGIXML_NO_XPATH=ON
endif
ifeq ($(BR2_PACKAGE_PUGIXML_COMPACT),y)
PUGIXML_CONF_OPTS += -DPUGIXML_COMPACT=ON
else
PUGIXML_CONF_OPTS += -DPUGIXML_COMPACT=OFF
endif
# Pugixml will automatically enable 'long long' support on C++11 compilers,
# which means gcc 4.8+. As gcc always supports the 'long long' type,
# force-enable this option to support older gcc versions. See also:
# https://gcc.gnu.org/onlinedocs/gcc/Long-Long.html
PUGIXML_BUILD_DEFINES += PUGIXML_HAS_LONG_LONG
HOST_PUGIXML_BUILD_DEFINES += PUGIXML_HAS_LONG_LONG
PUGIXML_CONF_OPTS += -DPUGIXML_BUILD_DEFINES="$(subst $(space),;,$(PUGIXML_BUILD_DEFINES))"
HOST_PUGIXML_CONF_OPTS += \
-DBUILD_PKGCONFIG=ON \
-DPUGIXML_BUILD_DEFINES="$(subst $(space),;,$(HOST_PUGIXML_BUILD_DEFINES))"
$(eval $(cmake-package))
$(eval $(host-cmake-package))