update buildroot to 2017.02.11
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
From 6cfd9c14ced26c8220f7f7ea99610cbdbfb9eba7 Mon Sep 17 00:00:00 2001
|
||||
From: Theo Debrouwere <theo.debrouwere@skynet.be>
|
||||
Date: Mon, 12 Sep 2016 09:38:56 +0200
|
||||
Subject: [PATCH] Bugfix: check if cxx_long_long_type is present before
|
||||
applying it.
|
||||
|
||||
Check if cxx_long_long_type is present in the list of compiler features
|
||||
before adding it as a target_compile_feature.
|
||||
|
||||
Patch was backported from
|
||||
https://github.com/zeux/pugixml/commit/4dbb5646196a4a3cc94097f1473ef11d1d44df11
|
||||
|
||||
Signed-off-by: Theo Debrouwere <theo.debrouwere@skynet.be>
|
||||
---
|
||||
scripts/CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt
|
||||
index 40a7ab0..6403753 100644
|
||||
--- a/scripts/CMakeLists.txt
|
||||
+++ b/scripts/CMakeLists.txt
|
||||
@@ -26,7 +26,7 @@ else()
|
||||
endif()
|
||||
|
||||
# Enable C++11 long long for compilers that are capable of it
|
||||
-if(NOT ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} STRLESS 3.1)
|
||||
+if(NOT ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} STRLESS 3.1 AND ";${CMAKE_CXX_COMPILE_FEATURES};" MATCHES ";cxx_long_long_type;")
|
||||
target_compile_features(pugixml PUBLIC cxx_long_long_type)
|
||||
endif()
|
||||
|
||||
--
|
||||
2.9.3
|
||||
|
||||
19
bsp/buildroot-2017.02.11/package/pugixml/Config.in
Normal file
19
bsp/buildroot-2017.02.11/package/pugixml/Config.in
Normal file
@@ -0,0 +1,19 @@
|
||||
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
|
||||
|
||||
comment "pugixml needs a toolchain w/ C++"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
2
bsp/buildroot-2017.02.11/package/pugixml/pugixml.hash
Normal file
2
bsp/buildroot-2017.02.11/package/pugixml/pugixml.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally computed:
|
||||
sha256 fbe10d46f61d769f7d92a296102e4e2bd3ee16130f11c5b10a1aae590ea1f5ca pugixml-1.7.tar.gz
|
||||
15
bsp/buildroot-2017.02.11/package/pugixml/pugixml.mk
Normal file
15
bsp/buildroot-2017.02.11/package/pugixml/pugixml.mk
Normal file
@@ -0,0 +1,15 @@
|
||||
################################################################################
|
||||
#
|
||||
# pugixml
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PUGIXML_VERSION = 1.7
|
||||
PUGIXML_SITE = http://github.com/zeux/pugixml/releases/download/v$(PUGIXML_VERSION)
|
||||
PUGIXML_LICENSE = MIT
|
||||
PUGIXML_LICENSE_FILES = readme.txt
|
||||
PUGIXML_INSTALL_STAGING = YES
|
||||
|
||||
PUGIXML_SUBDIR = scripts
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user