forked from buildroot/buildroot
-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch to use icu 65.1, enable to provide filters data file path #217
Open
Damian-Danylko
wants to merge
1
commit into
master
Choose a base branch
from
development/icu
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,28 +4,21 @@ | |
# | ||
################################################################################ | ||
|
||
ifeq ($(BR2_PACKAGE_RDK_VERSIONING),y) | ||
ICU_VERSION = 57.1 | ||
else ifeq ($(BR2_PACKAGE_NETFLIX5),y) | ||
ICU_VERSION = 65.1 | ||
else ifeq ($(BR2_PACKAGE_NETFLIX52),y) | ||
ICU_VERSION = 65.1 | ||
else | ||
ICU_VERSION = 57.1 | ||
endif | ||
|
||
ICU_SOURCE = icu4c-$(subst .,_,$(ICU_VERSION))-src.tgz | ||
ifeq ($(ICU_VERSION), 65.1) | ||
ICU_SITE = \ | ||
https://github.com/unicode-org/icu/releases/download/release-$(subst .,-,$(ICU_VERSION)) | ||
ICU_LICENSE = ICU License | ||
ICU_LICENSE_FILES = LICENSE | ||
|
||
ICU_FILTERS_DATA_PATH = $(call qstrip,$(BR2_PACKAGE_ICU_FILTERS_DATA_PATH)) | ||
# Force to build icudate, as of ICU 64 the website to generate icudate is no longer applicable | ||
# If someone needs to build it outside still mk file is able to support it | ||
ICU_BUILD_ICUDATA = y | ||
Comment on lines
+17
to
18
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. icudata.mk and Config.in may also be modified as it is always building icudata and not using pre-generated icudata from Metrological repository. |
||
export ICU_DATA_FILTER_FILE=$(HOST_ICU_DIR)/source/data/filters.json | ||
else | ||
ICU_SITE = http://download.icu-project.org/files/icu4c/$(ICU_VERSION) | ||
ICU_LICENSE = ICU License | ||
ICU_LICENSE_FILES = license.html | ||
|
||
ifneq ($(ICU_FILTERS_DATA_PATH),) | ||
export ICU_DATA_FILTER_FILE=$(ICU_FILTERS_DATA_PATH) | ||
endif | ||
|
||
ICU_DEPENDENCIES = host-icu | ||
|
@@ -63,11 +56,7 @@ HOST_ICU_CONF_ENV = CXX="$(HOSTCXX_NOCCACHE)" CC="$(HOSTCC_NOCCACHE)" | |
|
||
ifeq ($(BR2_PACKAGE_ICU_USE_ICUDATA),y) | ||
ICU_DEPENDENCIES += icudata | ||
ifeq ($(ICU_BUILD_ICUDATA), y) | ||
ICU_PRE_PATCH_HOOKS += ICUDATA_EXTRACT | ||
else | ||
ICU_POST_PATCH_HOOKS += ICUDATA_EXTRACT | ||
endif | ||
endif | ||
|
||
ICU_CUSTOM_DATA_PATH = $(call qstrip,$(BR2_PACKAGE_ICU_CUSTOM_DATA_PATH)) | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By default, it will increase the size of zImage (with ramfs) significantly.
As there is no default filter defined, it will generate full icu data e.g. it will increase icudata size by 22MB and zImage size by 10MB.
Please cross-check if this size increase is OK.