Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
From 0f4e9eee64bd4220aa4fae1ab4f7bbf10b87cd69 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 15 Feb 2014 21:06:42 +0000
|
||||
Subject: [PATCH] Disable LDFLAGSICUDT for Linux
|
||||
|
||||
Upstream-Status: Inappropriate [ OE Configuration ]
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
config/mh-linux | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/config/mh-linux b/config/mh-linux
|
||||
index 53d6780..b622513 100644
|
||||
--- a/config/mh-linux
|
||||
+++ b/config/mh-linux
|
||||
@@ -23,7 +23,7 @@ LD_RPATH= -Wl,-zorigin,-rpath,'$$'ORIGIN
|
||||
LD_RPATH_PRE = -Wl,-rpath,
|
||||
|
||||
## These are the library specific LDFLAGS
|
||||
-LDFLAGSICUDT=-nodefaultlibs -nostdlib
|
||||
+# LDFLAGSICUDT=-nodefaultlibs -nostdlib
|
||||
|
||||
## Compiler switch to embed a library name
|
||||
# The initial tab in the next line is to prevent icu-config from reading it.
|
||||
@@ -0,0 +1,27 @@
|
||||
From cf55c077b77b7a219502364eaadf12c074ab005e Mon Sep 17 00:00:00 2001
|
||||
From: Lei Maohui <leimaohui@cn.fujitsu.com>
|
||||
Date: Wed, 8 May 2019 14:42:30 +0900
|
||||
Subject: [PATCH] icu: Added armeb support.
|
||||
|
||||
Make icu support arm32 BE.
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
|
||||
---
|
||||
i18n/double-conversion-utils.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/i18n/double-conversion-utils.h b/i18n/double-conversion-utils.h
|
||||
index 303668f..7d859dc 100644
|
||||
--- a/i18n/double-conversion-utils.h
|
||||
+++ b/i18n/double-conversion-utils.h
|
||||
@@ -146,7 +146,7 @@ int main(int argc, char** argv) {
|
||||
//
|
||||
// If it prints "correct" then the architecture should be here, in the "correct" section.
|
||||
#if defined(_M_X64) || defined(__x86_64__) || \
|
||||
- defined(__ARMEL__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \
|
||||
+ defined(__arm__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \
|
||||
defined(__hppa__) || defined(__ia64__) || \
|
||||
defined(__mips__) || \
|
||||
defined(__loongarch__) || \
|
||||
166
sources/poky/meta/recipes-support/icu/icu/CVE-2025-5222.patch
Normal file
166
sources/poky/meta/recipes-support/icu/icu/CVE-2025-5222.patch
Normal file
@@ -0,0 +1,166 @@
|
||||
From b5fd1ccf1068140ca9333878f2172a0947986ca8 Mon Sep 17 00:00:00 2001
|
||||
From: Frank Tang <ftang@chromium.org>
|
||||
Date: Wed, 22 Jan 2025 11:50:59 -0800
|
||||
Subject: [PATCH] ICU-22973 Fix buffer overflow by using CharString
|
||||
|
||||
CVE: CVE-2025-5222
|
||||
Upstream-Status: Backport [https://github.com/unicode-org/icu/commit/2c667e31cfd0b6bb1923627a932fd3453a5bac77]
|
||||
|
||||
Signed-off-by: Changqing Li <changqing.li@windriver.com>
|
||||
---
|
||||
tools/genrb/parse.cpp | 49 +++++++++++++++++++++---------------
|
||||
1 file changed, 29 insertions(+), 20 deletions(-)
|
||||
|
||||
diff --git a/tools/genrb/parse.cpp b/tools/genrb/parse.cpp
|
||||
index f487241..eb85d51 100644
|
||||
--- a/tools/genrb/parse.cpp
|
||||
+++ b/tools/genrb/parse.cpp
|
||||
@@ -1153,7 +1153,7 @@ addCollation(ParseState* state, TableResource *result, const char *collationTyp
|
||||
struct UString *tokenValue;
|
||||
struct UString comment;
|
||||
enum ETokenType token;
|
||||
- char subtag[1024];
|
||||
+ CharString subtag;
|
||||
UnicodeString rules;
|
||||
UBool haveRules = false;
|
||||
UVersionInfo version;
|
||||
@@ -1189,15 +1189,15 @@ addCollation(ParseState* state, TableResource *result, const char *collationTyp
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
- u_UCharsToChars(tokenValue->fChars, subtag, u_strlen(tokenValue->fChars) + 1);
|
||||
-
|
||||
+ subtag.clear();
|
||||
+ subtag.appendInvariantChars(tokenValue->fChars, u_strlen(tokenValue->fChars), *status);
|
||||
if (U_FAILURE(*status))
|
||||
{
|
||||
res_close(result);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
- member = parseResource(state, subtag, nullptr, status);
|
||||
+ member = parseResource(state, subtag.data(), nullptr, status);
|
||||
|
||||
if (U_FAILURE(*status))
|
||||
{
|
||||
@@ -1208,7 +1208,7 @@ addCollation(ParseState* state, TableResource *result, const char *collationTyp
|
||||
{
|
||||
// Ignore the parsed resources, continue parsing.
|
||||
}
|
||||
- else if (uprv_strcmp(subtag, "Version") == 0 && member->isString())
|
||||
+ else if (uprv_strcmp(subtag.data(), "Version") == 0 && member->isString())
|
||||
{
|
||||
StringResource *sr = static_cast<StringResource *>(member);
|
||||
char ver[40];
|
||||
@@ -1225,11 +1225,11 @@ addCollation(ParseState* state, TableResource *result, const char *collationTyp
|
||||
result->add(member, line, *status);
|
||||
member = nullptr;
|
||||
}
|
||||
- else if(uprv_strcmp(subtag, "%%CollationBin")==0)
|
||||
+ else if(uprv_strcmp(subtag.data(), "%%CollationBin")==0)
|
||||
{
|
||||
/* discard duplicate %%CollationBin if any*/
|
||||
}
|
||||
- else if (uprv_strcmp(subtag, "Sequence") == 0 && member->isString())
|
||||
+ else if (uprv_strcmp(subtag.data(), "Sequence") == 0 && member->isString())
|
||||
{
|
||||
StringResource *sr = static_cast<StringResource *>(member);
|
||||
rules = sr->fString;
|
||||
@@ -1395,7 +1395,7 @@ parseCollationElements(ParseState* state, char *tag, uint32_t startline, UBool n
|
||||
struct UString *tokenValue;
|
||||
struct UString comment;
|
||||
enum ETokenType token;
|
||||
- char subtag[1024], typeKeyword[1024];
|
||||
+ CharString subtag, typeKeyword;
|
||||
uint32_t line;
|
||||
|
||||
result = table_open(state->bundle, tag, nullptr, status);
|
||||
@@ -1437,7 +1437,8 @@ parseCollationElements(ParseState* state, char *tag, uint32_t startline, UBool n
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
- u_UCharsToChars(tokenValue->fChars, subtag, u_strlen(tokenValue->fChars) + 1);
|
||||
+ subtag.clear();
|
||||
+ subtag.appendInvariantChars(tokenValue->fChars, u_strlen(tokenValue->fChars), *status);
|
||||
|
||||
if (U_FAILURE(*status))
|
||||
{
|
||||
@@ -1445,9 +1446,9 @@ parseCollationElements(ParseState* state, char *tag, uint32_t startline, UBool n
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
- if (uprv_strcmp(subtag, "default") == 0)
|
||||
+ if (uprv_strcmp(subtag.data(), "default") == 0)
|
||||
{
|
||||
- member = parseResource(state, subtag, nullptr, status);
|
||||
+ member = parseResource(state, subtag.data(), nullptr, status);
|
||||
|
||||
if (U_FAILURE(*status))
|
||||
{
|
||||
@@ -1466,22 +1467,29 @@ parseCollationElements(ParseState* state, char *tag, uint32_t startline, UBool n
|
||||
if(token == TOK_OPEN_BRACE) {
|
||||
token = getToken(state, &tokenValue, &comment, &line, status);
|
||||
TableResource *collationRes;
|
||||
- if (keepCollationType(subtag)) {
|
||||
- collationRes = table_open(state->bundle, subtag, nullptr, status);
|
||||
+ if (keepCollationType(subtag.data())) {
|
||||
+ collationRes = table_open(state->bundle, subtag.data(), nullptr, status);
|
||||
} else {
|
||||
collationRes = nullptr;
|
||||
}
|
||||
// need to parse the collation data regardless
|
||||
- collationRes = addCollation(state, collationRes, subtag, startline, status);
|
||||
+ collationRes = addCollation(state, collationRes, subtag.data(), startline, status);
|
||||
if (collationRes != nullptr) {
|
||||
result->add(collationRes, startline, *status);
|
||||
}
|
||||
} else if(token == TOK_COLON) { /* right now, we'll just try to see if we have aliases */
|
||||
/* we could have a table too */
|
||||
token = peekToken(state, 1, &tokenValue, &line, &comment, status);
|
||||
- u_UCharsToChars(tokenValue->fChars, typeKeyword, u_strlen(tokenValue->fChars) + 1);
|
||||
- if(uprv_strcmp(typeKeyword, "alias") == 0) {
|
||||
- member = parseResource(state, subtag, nullptr, status);
|
||||
+ typeKeyword.clear();
|
||||
+ typeKeyword.appendInvariantChars(tokenValue->fChars, u_strlen(tokenValue->fChars), *status);
|
||||
+ if (U_FAILURE(*status))
|
||||
+ {
|
||||
+ res_close(result);
|
||||
+ return nullptr;
|
||||
+ }
|
||||
+
|
||||
+ if(uprv_strcmp(typeKeyword.data(), "alias") == 0) {
|
||||
+ member = parseResource(state, subtag.data(), nullptr, status);
|
||||
if (U_FAILURE(*status))
|
||||
{
|
||||
res_close(result);
|
||||
@@ -1523,7 +1531,7 @@ realParseTable(ParseState* state, TableResource *table, char *tag, uint32_t star
|
||||
struct UString *tokenValue=nullptr;
|
||||
struct UString comment;
|
||||
enum ETokenType token;
|
||||
- char subtag[1024];
|
||||
+ CharString subtag;
|
||||
uint32_t line;
|
||||
UBool readToken = false;
|
||||
|
||||
@@ -1562,7 +1570,8 @@ realParseTable(ParseState* state, TableResource *table, char *tag, uint32_t star
|
||||
}
|
||||
|
||||
if(uprv_isInvariantUString(tokenValue->fChars, -1)) {
|
||||
- u_UCharsToChars(tokenValue->fChars, subtag, u_strlen(tokenValue->fChars) + 1);
|
||||
+ subtag.clear();
|
||||
+ subtag.appendInvariantChars(tokenValue->fChars, u_strlen(tokenValue->fChars), *status);
|
||||
} else {
|
||||
*status = U_INVALID_FORMAT_ERROR;
|
||||
error(line, "invariant characters required for table keys");
|
||||
@@ -1575,7 +1584,7 @@ realParseTable(ParseState* state, TableResource *table, char *tag, uint32_t star
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
- member = parseResource(state, subtag, &comment, status);
|
||||
+ member = parseResource(state, subtag.data(), &comment, status);
|
||||
|
||||
if (member == nullptr || U_FAILURE(*status))
|
||||
{
|
||||
--
|
||||
2.34.1
|
||||
|
||||
2
sources/poky/meta/recipes-support/icu/icu/filter.json
Normal file
2
sources/poky/meta/recipes-support/icu/icu/filter.json
Normal file
@@ -0,0 +1,2 @@
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
From 2d544cac238eccbfc32cafc9502ddf6e00994211 Mon Sep 17 00:00:00 2001
|
||||
From: Ross Burton <ross.burton@intel.com>
|
||||
Date: Fri, 9 Oct 2015 17:50:41 +0100
|
||||
Subject: [PATCH] icu: fix install race
|
||||
|
||||
The generic recursive target calls target-local so also adding it to the
|
||||
dependency list results in races due to install-local being executed twice in
|
||||
parallel. For example, install-manx can fail if the two install processes race
|
||||
and one process tries to chown a file that the other process has just deleted.
|
||||
|
||||
Also install-manx should be a phony target, and for clarity use $^ instead of $?
|
||||
in the install command.
|
||||
|
||||
Upstream-Status: Backport [0f022dca90cfe6bbf6a74f605dcaf1b489d58a9b]
|
||||
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
||||
---
|
||||
Makefile.in | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index 8366f01..79b91c9 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -77,7 +77,7 @@ EXTRA_DATA =
|
||||
|
||||
## List of phony targets
|
||||
.PHONY : all all-local all-recursive install install-local install-udata install-udata-files install-udata-dlls \
|
||||
-install-recursive clean clean-local clean-recursive distclean \
|
||||
+install-recursive install-manx clean clean-local clean-recursive distclean \
|
||||
distclean-local distclean-recursive doc dist dist-local dist-recursive \
|
||||
check check-local check-recursive clean-recursive-with-twist install-icu \
|
||||
doc install-doc tests icu4j-data icu4j-data-install update-windows-makefiles xcheck-local xcheck-recursive xperf xcheck xperf-recursive \
|
||||
@@ -88,9 +88,9 @@ check-exhaustive check-exhaustive-local check-exhaustive-recursive releaseDist
|
||||
|
||||
## List of standard targets
|
||||
all: all-local all-recursive
|
||||
-install: install-recursive install-local
|
||||
+install: install-recursive
|
||||
clean: clean-recursive-with-twist clean-local
|
||||
-distclean : distclean-recursive distclean-local
|
||||
+distclean : distclean-recursive
|
||||
dist: dist-recursive
|
||||
check: all check-recursive
|
||||
check-recursive: all
|
||||
@@ -357,7 +357,7 @@ config.status: $(srcdir)/configure $(srcdir)/common/unicode/uvernum.h
|
||||
install-manx: $(MANX_FILES)
|
||||
$(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION)
|
||||
ifneq ($(MANX_FILES),)
|
||||
- $(INSTALL_DATA) $? $(DESTDIR)$(mandir)/man$(SECTION)
|
||||
+ $(INSTALL_DATA) $^ $(DESTDIR)$(mandir)/man$(SECTION)
|
||||
endif
|
||||
|
||||
config/%.$(SECTION): $(srcdir)/config/%.$(SECTION).in
|
||||
165
sources/poky/meta/recipes-support/icu/icu_74-2.bb
Normal file
165
sources/poky/meta/recipes-support/icu/icu_74-2.bb
Normal file
@@ -0,0 +1,165 @@
|
||||
SUMMARY = "International Component for Unicode libraries"
|
||||
DESCRIPTION = "The International Component for Unicode (ICU) is a mature, \
|
||||
portable set of C/C++ and Java libraries for Unicode support, software \
|
||||
internationalization (I18N) and globalization (G11N), giving applications the \
|
||||
same results on all platforms."
|
||||
HOMEPAGE = "http://site.icu-project.org/"
|
||||
|
||||
LICENSE = "ICU"
|
||||
DEPENDS = "icu-native autoconf-archive-native"
|
||||
|
||||
CVE_PRODUCT = "international_components_for_unicode"
|
||||
|
||||
S = "${WORKDIR}/icu/source"
|
||||
SPDX_S = "${WORKDIR}/icu"
|
||||
STAGING_ICU_DIR_NATIVE = "${STAGING_DATADIR_NATIVE}/${BPN}/${PV}"
|
||||
|
||||
ICU_MAJOR_VER = "${@d.getVar('PV').split('-')[0]}"
|
||||
|
||||
inherit autotools pkgconfig github-releases
|
||||
|
||||
# ICU needs the native build directory as an argument to its --with-cross-build option when
|
||||
# cross-compiling. Taken the situation that different builds may share a common sstate-cache
|
||||
# into consideration, the native build directory needs to be staged.
|
||||
EXTRA_OECONF = "--with-cross-build=${STAGING_ICU_DIR_NATIVE} --disable-icu-config"
|
||||
EXTRA_OECONF:class-native = "--disable-icu-config"
|
||||
EXTRA_OECONF:class-nativesdk = "--with-cross-build=${STAGING_ICU_DIR_NATIVE} --disable-icu-config"
|
||||
|
||||
EXTRA_OECONF:append:class-target = "${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'be', ' --with-data-packaging=archive', '', d)}"
|
||||
TARGET_CXXFLAGS:append = "${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'be', ' -DICU_DATA_DIR=\\""${datadir}/${BPN}/${@icu_install_folder(d)}\\""', '', d)}"
|
||||
|
||||
ASNEEDED = ""
|
||||
|
||||
remove_build_host_references_from_libicutu () {
|
||||
# Make sure certain build host references do not end up being compiled
|
||||
# in the image. This only affects libicutu and icu-dbg
|
||||
sed \
|
||||
-e 's,DU_BUILD=,DU_BUILD_unused=,g' \
|
||||
-e '/^CPPFLAGS.*/ s,--sysroot=${STAGING_DIR_TARGET},,g' \
|
||||
-i ${B}/tools/toolutil/Makefile
|
||||
}
|
||||
|
||||
do_compile:prepend:class-target () {
|
||||
remove_build_host_references_from_libicutu
|
||||
}
|
||||
|
||||
do_compile:prepend:class-nativesdk () {
|
||||
remove_build_host_references_from_libicutu
|
||||
}
|
||||
|
||||
PREPROCESS_RELOCATE_DIRS = "${datadir}/${BPN}/${PV}"
|
||||
do_install:append:class-native() {
|
||||
mkdir -p ${D}/${STAGING_ICU_DIR_NATIVE}/config
|
||||
cp -r ${B}/config/icucross.mk ${D}/${STAGING_ICU_DIR_NATIVE}/config
|
||||
cp -r ${B}/config/icucross.inc ${D}/${STAGING_ICU_DIR_NATIVE}/config
|
||||
cp -r ${B}/lib ${D}/${STAGING_ICU_DIR_NATIVE}
|
||||
cp -r ${B}/bin ${D}/${STAGING_ICU_DIR_NATIVE}
|
||||
cp -r ${B}/tools ${D}/${STAGING_ICU_DIR_NATIVE}
|
||||
}
|
||||
|
||||
remove_build_host_references() {
|
||||
sed -i \
|
||||
-e 's,--sysroot=${STAGING_DIR_TARGET},,g' \
|
||||
-e 's|${DEBUG_PREFIX_MAP}||g' \
|
||||
-e 's:${HOSTTOOLS_DIR}/::g' \
|
||||
${D}/${libdir}/${BPN}/${@icu_install_folder(d)}/Makefile.inc \
|
||||
${D}/${libdir}/${BPN}/${@icu_install_folder(d)}/pkgdata.inc
|
||||
}
|
||||
|
||||
do_install:append:class-target() {
|
||||
# The native pkgdata can not generate the correct data file.
|
||||
# Use icupkg to re-generate it.
|
||||
if [ "${SITEINFO_ENDIANNESS}" = "be" ] ; then
|
||||
rm -f ${D}/${datadir}/${BPN}/${@icu_install_folder(d)}/icudt${ICU_MAJOR_VER}b.dat
|
||||
icupkg -tb ${S}/data/in/icudt${ICU_MAJOR_VER}l.dat ${D}/${datadir}/${BPN}/${@icu_install_folder(d)}/icudt${ICU_MAJOR_VER}b.dat
|
||||
fi
|
||||
|
||||
remove_build_host_references
|
||||
}
|
||||
|
||||
do_install:append:class-nativesdk() {
|
||||
remove_build_host_references
|
||||
}
|
||||
|
||||
PACKAGES =+ "libicudata libicuuc libicui18n libicutu libicuio"
|
||||
|
||||
FILES:${PN}-dev += "${libdir}/${BPN}/"
|
||||
|
||||
FILES:libicudata = "${libdir}/libicudata.so.*"
|
||||
FILES:libicuuc = "${libdir}/libicuuc.so.*"
|
||||
FILES:libicui18n = "${libdir}/libicui18n.so.*"
|
||||
FILES:libicutu = "${libdir}/libicutu.so.*"
|
||||
FILES:libicuio = "${libdir}/libicuio.so.*"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://../LICENSE;md5=08dc3852df8fffa807301902ad899ff8"
|
||||
|
||||
def icu_download_version(d):
|
||||
pvsplit = d.getVar('PV').split('-')
|
||||
return pvsplit[0] + "_" + pvsplit[1]
|
||||
|
||||
def icu_download_folder(d):
|
||||
pvsplit = d.getVar('PV').split('-')
|
||||
return pvsplit[0] + "-" + pvsplit[1]
|
||||
|
||||
def icu_install_folder(d):
|
||||
pvsplit = d.getVar('PV').split('-')
|
||||
return pvsplit[0] + "." + pvsplit[1]
|
||||
|
||||
ICU_PV = "${@icu_download_version(d)}"
|
||||
ICU_FOLDER = "${@icu_download_folder(d)}"
|
||||
|
||||
# http://errors.yoctoproject.org/Errors/Details/20486/
|
||||
ARM_INSTRUCTION_SET:armv4 = "arm"
|
||||
ARM_INSTRUCTION_SET:armv5 = "arm"
|
||||
|
||||
BASE_SRC_URI = "${GITHUB_BASE_URI}/download/release-${ICU_FOLDER}/icu4c-${ICU_PV}-src.tgz"
|
||||
DATA_SRC_URI = "${GITHUB_BASE_URI}/download/release-${ICU_FOLDER}/icu4c-${ICU_PV}-data.zip"
|
||||
SRC_URI = "${BASE_SRC_URI};name=code \
|
||||
${DATA_SRC_URI};name=data \
|
||||
file://filter.json \
|
||||
file://fix-install-manx.patch \
|
||||
file://0001-icu-Added-armeb-support.patch \
|
||||
file://CVE-2025-5222.patch \
|
||||
"
|
||||
|
||||
SRC_URI:append:class-target = "\
|
||||
file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \
|
||||
"
|
||||
SRC_URI[code.sha256sum] = "68db082212a96d6f53e35d60f47d38b962e9f9d207a74cfac78029ae8ff5e08c"
|
||||
SRC_URI[data.sha256sum] = "c28c3ca5f4ba3384781797138a294ca360988d4322674ad4d51e52f5d9b0a2b6"
|
||||
|
||||
UPSTREAM_CHECK_REGEX = "releases/tag/release-(?P<pver>(?!.+rc).+)"
|
||||
GITHUB_BASE_URI = "https://github.com/unicode-org/icu/releases"
|
||||
|
||||
EXTRA_OECONF:append:libc-musl = " ac_cv_func_strtod_l=no"
|
||||
|
||||
PACKAGECONFIG ?= ""
|
||||
PACKAGECONFIG[make-icudata] = ",,,"
|
||||
|
||||
do_make_icudata:class-target () {
|
||||
${@bb.utils.contains('PACKAGECONFIG', 'make-icudata', '', 'exit 0', d)}
|
||||
cd ${S}
|
||||
rm -rf data
|
||||
cp -a ${WORKDIR}/data .
|
||||
AR='${BUILD_AR}' \
|
||||
CC='${BUILD_CC}' \
|
||||
CPP='${BUILD_CPP}' \
|
||||
CXX='${BUILD_CXX}' \
|
||||
RANLIB='${BUILD_RANLIB}' \
|
||||
CFLAGS='${BUILD_CFLAGS}' \
|
||||
CPPFLAGS='${BUILD_CPPFLAGS}' \
|
||||
CXXFLAGS='${BUILD_CXXFLAGS}' \
|
||||
LDFLAGS='${BUILD_LDFLAGS}' \
|
||||
ICU_DATA_FILTER_FILE=${WORKDIR}/filter.json \
|
||||
./runConfigureICU Linux --with-data-packaging=archive
|
||||
oe_runmake
|
||||
install -Dm644 ${S}/data/out/icudt${ICU_MAJOR_VER}l.dat ${S}/data/in/icudt${ICU_MAJOR_VER}l.dat
|
||||
}
|
||||
|
||||
do_make_icudata() {
|
||||
:
|
||||
}
|
||||
|
||||
addtask make_icudata before do_configure after do_patch do_prepare_recipe_sysroot
|
||||
Reference in New Issue
Block a user