@@ -9,8 +9,8 @@ ICU_PKGNAME := icu4c
9
9
ICU_PKGVERSION=$(subst .,_,$(ICU_VERSION))
10
10
11
11
ICU_EXTRA_OPTS = \
12
- --bindir=$(CROSSTOOLSDIR ) \
13
- --sbindir=$(CROSSTOOLSDIR ) \
12
+ --bindir=$(TOOLDIR ) \
13
+ --sbindir=$(TOOLDIR ) \
14
14
--enable-static \
15
15
--disable-strict \
16
16
--disable-dyload \
@@ -22,23 +22,23 @@ ICU_EXTRA_OPTS = \
22
22
23
23
ICU_REPOSITORY := https://github.com/unicode-org/icu/releases/download/release-$(ICU_MAJOR)-$(ISU_MINOR)
24
24
25
- icu-installflag := $(CROSSTOOLSDIR )/.installflag-icu-$(ICU_VERSION)
25
+ icu-installflag := $(TOOLDIR )/.installflag-icu-$(ICU_VERSION)
26
26
27
27
#MM
28
28
tools-crosstools-icu :
29
- @$(IF) ! $(TEST) -d $(CROSSTOOLSDIR ) \
29
+ @$(IF) ! $(TEST) -d $(TOOLDIR ) \
30
30
|| ! $(TEST) -f $(icu-installflag) ; then \
31
- $(RM) $(CROSSTOOLSDIR )/$(ICU_PKGNAME)/.files-touched \
31
+ $(RM) $(TOOLDIR )/$(ICU_PKGNAME)/.files-touched \
32
32
&& $(MAKE) -f ./mmakefile crosstools-icu--fetch \
33
33
&& $(MAKE) -f ./mmakefile crosstools-icu--build_and_install-quick \
34
34
&& $(TOUCH) $(icu-installflag) ; \
35
35
fi
36
36
37
37
HOST_CXXFLAGS := $(subst -Wno-pointer-sign,, $(subst -Werror-implicit-function-declaration,, $(HOST_CXXFLAGS)))
38
38
39
- # specify the gendir for icu to be in HOSTDIR so it ends up under CROSSTOOLSDIR, and can be reused
39
+ # specify the gendir for icu to be in HOSTDIR so can be reused
40
40
%fetch_and_build mmake=crosstools-icu package=$(ICU_PKGNAME) version=$(ICU_PKGVERSION)-src compiler=host \
41
- package_repo="$(ICU_REPOSITORY )" suffixes="tgz" \
42
- patch=yes srcdir=icu builddir=source gendir=$(CROSSTOOLSDIR ) basedir= \
43
- prefix="$(CROSSTOOLSDIR )" \
41
+ package_repo="$(TOOLDIR )" suffixes="tgz" \
42
+ patch=yes srcdir=icu builddir=source gendir=$(TOOLDIR ) basedir= \
43
+ prefix="$(TOOLDIR )" \
44
44
extraoptions="$(ICU_EXTRA_OPTS)" extracflags=$(ICU_FLAGS)
0 commit comments