blob: 713e516a21c1ba67ed7c455e26ed3bdcacae2b49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
# -*-makefile-*-
#
# Copyright (C) 2007 by Luotao Fu <lfu@pengutronix.de>
# 2008, 2010 by Marc Kleine-Budde <mkl@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
#
# We provide this package
#
HOST_PACKAGES-$(PTXCONF_HOST_LOCALEDEF) += host-localedef
#
# Paths and names
#
HOST_LOCALEDEF_VERSION := 2.27
HOST_LOCALEDEF_MD5 := 274e794c999b4ebbccdf72bfb4c49a68
HOST_LOCALEDEF := localedef-glibc-$(HOST_LOCALEDEF_VERSION)
HOST_LOCALEDEF_SUFFIX := tar.bz2
HOST_LOCALEDEF_URL := $(call ptx/mirror, GNU, glibc/glibc-$(HOST_LOCALEDEF_VERSION).$(HOST_LOCALEDEF_SUFFIX))
HOST_LOCALEDEF_SOURCE := $(SRCDIR)/glibc-$(HOST_LOCALEDEF_VERSION).$(HOST_LOCALEDEF_SUFFIX)
HOST_LOCALEDEF_DIR := $(HOST_BUILDDIR)/$(HOST_LOCALEDEF)
HOST_LOCALEDEF_BUILD_OOT:= YES
HOST_LOCALEDEF_LICENSE := LGPL-2.1-or-later AND GPL-2.0-or-later
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
#
# autoconf
#
HOST_LOCALEDEF_CONF_TOOL := autoconf
HOST_LOCALEDEF_CONF_OPT := \
--prefix=/usr \
--enable-sanity-checks \
--disable-profile \
--disable-static-pie \
--disable-timezone-tools \
--disable-hardcoded-path-in-tests \
--enable-stackguard-randomization \
--enable-hidden-plt \
--enable-bind-now \
--enable-stack-protector \
--disable-static-nss \
--disable-force-install \
--disable-all-warnings \
--disable-werror \
--disable-multi-arch \
--disable-experimental-malloc \
--disable-nss-crypt \
--disable-obsolete-rpc \
--disable-obsolete-nsl \
--disable-systemtap \
--disable-build-nscd \
--disable-nscd \
--disable-pt_chown \
--disable-tunables \
--disable-mathvec
HOST_LOCALEDEF_MAKE_OPT := locale/others
HOST_LOCALEDEF_INSTALL_OPT := locale/install-others
# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------
$(STATEDIR)/host-localedef.install:
@$(call targetinfo)
@install -vD -m755 $(HOST_LOCALEDEF_DIR)-build/locale/localedef \
$(HOST_LOCALEDEF_PKGDIR)/bin/localedef
@$(call touch)
# vim: syntax=make
|