ppbt-cross-x86-64-linux-gnu 0.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,184 @@
1
+ Apache License
2
+ ==============
3
+
4
+ _Version 2.0, January 2004_
5
+ _&lt;<http://www.apache.org/licenses/>&gt;_
6
+
7
+ ### Terms and Conditions for use, reproduction, and distribution
8
+
9
+ #### 1. Definitions
10
+
11
+ “License” shall mean the terms and conditions for use, reproduction, and
12
+ distribution as defined by Sections 1 through 9 of this document.
13
+
14
+ “Licensor” shall mean the copyright owner or entity authorized by the copyright
15
+ owner that is granting the License.
16
+
17
+ “Legal Entity” shall mean the union of the acting entity and all other entities
18
+ that control, are controlled by, or are under common control with that entity.
19
+ For the purposes of this definition, “control” means **(i)** the power, direct or
20
+ indirect, to cause the direction or management of such entity, whether by
21
+ contract or otherwise, or **(ii)** ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or **(iii)** beneficial ownership of such entity.
23
+
24
+ “You” (or “Your”) shall mean an individual or Legal Entity exercising
25
+ permissions granted by this License.
26
+
27
+ “Source” form shall mean the preferred form for making modifications, including
28
+ but not limited to software source code, documentation source, and configuration
29
+ files.
30
+
31
+ “Object” form shall mean any form resulting from mechanical transformation or
32
+ translation of a Source form, including but not limited to compiled object code,
33
+ generated documentation, and conversions to other media types.
34
+
35
+ “Work” shall mean the work of authorship, whether in Source or Object form, made
36
+ available under the License, as indicated by a copyright notice that is included
37
+ in or attached to the work (an example is provided in the Appendix below).
38
+
39
+ “Derivative Works” shall mean any work, whether in Source or Object form, that
40
+ is based on (or derived from) the Work and for which the editorial revisions,
41
+ annotations, elaborations, or other modifications represent, as a whole, an
42
+ original work of authorship. For the purposes of this License, Derivative Works
43
+ shall not include works that remain separable from, or merely link (or bind by
44
+ name) to the interfaces of, the Work and Derivative Works thereof.
45
+
46
+ “Contribution” shall mean any work of authorship, including the original version
47
+ of the Work and any modifications or additions to that Work or Derivative Works
48
+ thereof, that is intentionally submitted to Licensor for inclusion in the Work
49
+ by the copyright owner or by an individual or Legal Entity authorized to submit
50
+ on behalf of the copyright owner. For the purposes of this definition,
51
+ “submitted” means any form of electronic, verbal, or written communication sent
52
+ to the Licensor or its representatives, including but not limited to
53
+ communication on electronic mailing lists, source code control systems, and
54
+ issue tracking systems that are managed by, or on behalf of, the Licensor for
55
+ the purpose of discussing and improving the Work, but excluding communication
56
+ that is conspicuously marked or otherwise designated in writing by the copyright
57
+ owner as “Not a Contribution.”
58
+
59
+ “Contributor” shall mean Licensor and any individual or Legal Entity on behalf
60
+ of whom a Contribution has been received by Licensor and subsequently
61
+ incorporated within the Work.
62
+
63
+ #### 2. Grant of Copyright License
64
+
65
+ Subject to the terms and conditions of this License, each Contributor hereby
66
+ grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
67
+ irrevocable copyright license to reproduce, prepare Derivative Works of,
68
+ publicly display, publicly perform, sublicense, and distribute the Work and such
69
+ Derivative Works in Source or Object form.
70
+
71
+ #### 3. Grant of Patent License
72
+
73
+ Subject to the terms and conditions of this License, each Contributor hereby
74
+ grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
75
+ irrevocable (except as stated in this section) patent license to make, have
76
+ made, use, offer to sell, sell, import, and otherwise transfer the Work, where
77
+ such license applies only to those patent claims licensable by such Contributor
78
+ that are necessarily infringed by their Contribution(s) alone or by combination
79
+ of their Contribution(s) with the Work to which such Contribution(s) was
80
+ submitted. If You institute patent litigation against any entity (including a
81
+ cross-claim or counterclaim in a lawsuit) alleging that the Work or a
82
+ Contribution incorporated within the Work constitutes direct or contributory
83
+ patent infringement, then any patent licenses granted to You under this License
84
+ for that Work shall terminate as of the date such litigation is filed.
85
+
86
+ #### 4. Redistribution
87
+
88
+ You may reproduce and distribute copies of the Work or Derivative Works thereof
89
+ in any medium, with or without modifications, and in Source or Object form,
90
+ provided that You meet the following conditions:
91
+
92
+ * **(a)** You must give any other recipients of the Work or Derivative Works a copy of
93
+ this License; and
94
+ * **(b)** You must cause any modified files to carry prominent notices stating that You
95
+ changed the files; and
96
+ * **(c)** You must retain, in the Source form of any Derivative Works that You distribute,
97
+ all copyright, patent, trademark, and attribution notices from the Source form
98
+ of the Work, excluding those notices that do not pertain to any part of the
99
+ Derivative Works; and
100
+ * **(d)** If the Work includes a “NOTICE” text file as part of its distribution, then any
101
+ Derivative Works that You distribute must include a readable copy of the
102
+ attribution notices contained within such NOTICE file, excluding those notices
103
+ that do not pertain to any part of the Derivative Works, in at least one of the
104
+ following places: within a NOTICE text file distributed as part of the
105
+ Derivative Works; within the Source form or documentation, if provided along
106
+ with the Derivative Works; or, within a display generated by the Derivative
107
+ Works, if and wherever such third-party notices normally appear. The contents of
108
+ the NOTICE file are for informational purposes only and do not modify the
109
+ License. You may add Your own attribution notices within Derivative Works that
110
+ You distribute, alongside or as an addendum to the NOTICE text from the Work,
111
+ provided that such additional attribution notices cannot be construed as
112
+ modifying the License.
113
+
114
+ You may add Your own copyright statement to Your modifications and may provide
115
+ additional or different license terms and conditions for use, reproduction, or
116
+ distribution of Your modifications, or for any such Derivative Works as a whole,
117
+ provided Your use, reproduction, and distribution of the Work otherwise complies
118
+ with the conditions stated in this License.
119
+
120
+ #### 5. Submission of Contributions
121
+
122
+ Unless You explicitly state otherwise, any Contribution intentionally submitted
123
+ for inclusion in the Work by You to the Licensor shall be under the terms and
124
+ conditions of this License, without any additional terms or conditions.
125
+ Notwithstanding the above, nothing herein shall supersede or modify the terms of
126
+ any separate license agreement you may have executed with Licensor regarding
127
+ such Contributions.
128
+
129
+ #### 6. Trademarks
130
+
131
+ This License does not grant permission to use the trade names, trademarks,
132
+ service marks, or product names of the Licensor, except as required for
133
+ reasonable and customary use in describing the origin of the Work and
134
+ reproducing the content of the NOTICE file.
135
+
136
+ #### 7. Disclaimer of Warranty
137
+
138
+ Unless required by applicable law or agreed to in writing, Licensor provides the
139
+ Work (and each Contributor provides its Contributions) on an “AS IS” BASIS,
140
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,
141
+ including, without limitation, any warranties or conditions of TITLE,
142
+ NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are
143
+ solely responsible for determining the appropriateness of using or
144
+ redistributing the Work and assume any risks associated with Your exercise of
145
+ permissions under this License.
146
+
147
+ #### 8. Limitation of Liability
148
+
149
+ In no event and under no legal theory, whether in tort (including negligence),
150
+ contract, or otherwise, unless required by applicable law (such as deliberate
151
+ and grossly negligent acts) or agreed to in writing, shall any Contributor be
152
+ liable to You for damages, including any direct, indirect, special, incidental,
153
+ or consequential damages of any character arising as a result of this License or
154
+ out of the use or inability to use the Work (including but not limited to
155
+ damages for loss of goodwill, work stoppage, computer failure or malfunction, or
156
+ any and all other commercial damages or losses), even if such Contributor has
157
+ been advised of the possibility of such damages.
158
+
159
+ #### 9. Accepting Warranty or Additional Liability
160
+
161
+ While redistributing the Work or Derivative Works thereof, You may choose to
162
+ offer, and charge a fee for, acceptance of support, warranty, indemnity, or
163
+ other liability obligations and/or rights consistent with this License. However,
164
+ in accepting such obligations, You may act only on Your own behalf and on Your
165
+ sole responsibility, not on behalf of any other Contributor, and only if You
166
+ agree to indemnify, defend, and hold each Contributor harmless for any liability
167
+ incurred by, or claims asserted against, such Contributor by reason of your
168
+ accepting any such warranty or additional liability.
169
+
170
+ _END OF TERMS AND CONDITIONS_
171
+
172
+ Copyright (c) 2011-2022 VMware, Inc. All rights reserved.
173
+
174
+ Licensed under the Apache License, Version 2.0 (the "License");
175
+ you may not use this file except in compliance with the License.
176
+ You may obtain a copy of the License at
177
+
178
+ http://www.apache.org/licenses/LICENSE-2.0
179
+
180
+ Unless required by applicable law or agreed to in writing, software
181
+ distributed under the License is distributed on an "AS IS" BASIS,
182
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
183
+ See the License for the specific language governing permissions and
184
+ limitations under the License.
@@ -0,0 +1,37 @@
1
+ Metadata-Version: 2.4
2
+ Name: ppbt-cross-x86_64-linux-gnu
3
+ Version: 0.2.0
4
+ Summary: Portable Python Build Toolchain - x86_64-linux-gnu cross toolchain
5
+ Home-page: https://github.com/saltstack/ppbt
6
+ Author: Daniel A. Wozniak
7
+ Author-email: <daniel.wozniak@broadcom.com>
8
+ License: Apache License 2.0
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: License :: OSI Approved :: Apache Software License
11
+ Classifier: Development Status :: 2 - Pre-Alpha
12
+ Classifier: Operating System :: POSIX :: Linux
13
+ Requires-Python: >=3
14
+ Description-Content-Type: text/markdown
15
+ License-File: LICENSE.md
16
+ Dynamic: license-file
17
+
18
+ # ppbt-cross-x86_64-linux-gnu
19
+
20
+ Cross-toolchain plugin for [ppbt](https://github.com/saltstack/ppbt).
21
+
22
+ Ships a crosstool-ng-built GCC targeting `x86_64-linux-gnu` whose
23
+ driver binaries run on an `aarch64` host. Installed as an optional
24
+ extra of the base `ppbt` package:
25
+
26
+ ```
27
+ pip install ppbt[cross-x86_64-linux-gnu]
28
+ ```
29
+
30
+ Discovered at runtime by base `ppbt` via the `ppbt.toolchains` entry
31
+ point:
32
+
33
+ ```python
34
+ import ppbt
35
+ print(ppbt.available_triplets())
36
+ env = ppbt.environ(triplet="x86_64-linux-gnu", auto_extract=True)
37
+ ```
@@ -0,0 +1,20 @@
1
+ # ppbt-cross-x86_64-linux-gnu
2
+
3
+ Cross-toolchain plugin for [ppbt](https://github.com/saltstack/ppbt).
4
+
5
+ Ships a crosstool-ng-built GCC targeting `x86_64-linux-gnu` whose
6
+ driver binaries run on an `aarch64` host. Installed as an optional
7
+ extra of the base `ppbt` package:
8
+
9
+ ```
10
+ pip install ppbt[cross-x86_64-linux-gnu]
11
+ ```
12
+
13
+ Discovered at runtime by base `ppbt` via the `ppbt.toolchains` entry
14
+ point:
15
+
16
+ ```python
17
+ import ppbt
18
+ print(ppbt.available_triplets())
19
+ env = ppbt.environ(triplet="x86_64-linux-gnu", auto_extract=True)
20
+ ```
@@ -0,0 +1,13 @@
1
+ [build-system]
2
+ requires = [
3
+ "setuptools>=38.6.0",
4
+ "wheel>=0.31.0",
5
+ "twine>=1.11.0"
6
+ ]
7
+ build-backend = "_build"
8
+ backend-path = ["."]
9
+
10
+ [tool.pytest.ini_options]
11
+ pythonpath = [
12
+ "src"
13
+ ]
@@ -0,0 +1,39 @@
1
+ [metadata]
2
+ name = ppbt-cross-x86_64-linux-gnu
3
+ version = attr: ppbt_cross_x86_64_linux_gnu.__version__
4
+ author = Daniel A. Wozniak
5
+ author_email = <daniel.wozniak@broadcom.com>
6
+ long-description-content-type = text/markdown
7
+ long_description = file: README.md
8
+ description = Portable Python Build Toolchain - x86_64-linux-gnu cross toolchain
9
+ license = Apache License 2.0
10
+ license_file = LICENSE.md
11
+ url = https://github.com/saltstack/ppbt
12
+ bug_tracker = https://github.com/saltstack/ppbt/issues
13
+ classifiers =
14
+ Programming Language :: Python :: 3
15
+ License :: OSI Approved :: Apache Software License
16
+ Development Status :: 2 - Pre-Alpha
17
+ Operating System :: POSIX :: Linux
18
+
19
+ [options]
20
+ package_dir =
21
+ =src
22
+ packages = find:
23
+ python_requires = >=3
24
+ include_package_data = True
25
+
26
+ [options.packages.find]
27
+ where = src
28
+
29
+ [options.package_data]
30
+ * = _config/**, _toolchain/**
31
+
32
+ [options.entry_points]
33
+ ppbt.toolchains =
34
+ x86_64-linux-gnu = ppbt_cross_x86_64_linux_gnu
35
+
36
+ [egg_info]
37
+ tag_build =
38
+ tag_date = 0
39
+
@@ -0,0 +1,26 @@
1
+ # Copyright 2024-2026 Broadcom Corporation
2
+ # SPDX-License-Identifier: Apache-2.0
3
+ #
4
+ import platform
5
+
6
+ from setuptools import setup
7
+
8
+ # Keep in sync with ppbt's base crosstool-ng config.
9
+ GLIBC_VERSION = "2.17"
10
+
11
+
12
+ def plat_name():
13
+ # The cross wheel ships binaries that *run on* the build host and
14
+ # emit code for a different target. The wheel's platform tag is the
15
+ # host's, not the target's.
16
+ return f"manylinux_{GLIBC_VERSION.replace('.', '_')}_{platform.machine()}"
17
+
18
+
19
+ setup(
20
+ options={
21
+ "bdist_wheel": {
22
+ "plat_name": f"{plat_name()}",
23
+ "python_tag": "py3",
24
+ }
25
+ }
26
+ )
@@ -0,0 +1,23 @@
1
+ # Copyright 2024-2026 Broadcom Corporation
2
+ # SPDX-License-Identifier: Apache-2.0
3
+ """
4
+ Cross toolchain plugin: x86_64-linux-gnu target.
5
+
6
+ This package ships a crosstool-ng-built GCC targeting
7
+ ``x86_64-linux-gnu`` whose driver binaries run on the wheel's host arch
8
+ (aarch64). Discovered by the base ``ppbt`` package at runtime via the
9
+ ``ppbt.toolchains`` entry point.
10
+ """
11
+ import pathlib
12
+
13
+ __version__ = "0.2.0"
14
+
15
+ TRIPLET = "x86_64-linux-gnu"
16
+ TOOLCHAIN_ROOT = pathlib.Path(__file__).parent / "_toolchain"
17
+ ARCHIVE = TOOLCHAIN_ROOT / f"{TRIPLET}.tar.xz"
18
+ TOOLCHAIN = TOOLCHAIN_ROOT / TRIPLET
19
+
20
+ DISTINFO = (
21
+ pathlib.Path(__file__).resolve().parent.parent
22
+ / f"ppbt_cross_x86_64_linux_gnu-{__version__}.dist-info"
23
+ )
@@ -0,0 +1,800 @@
1
+ #
2
+ # Automatically generated file; DO NOT EDIT.
3
+ # crosstool-NG 1.25.0 Configuration
4
+ #
5
+ CT_CONFIGURE_has_static_link=y
6
+ CT_CONFIGURE_has_cxx11=y
7
+ CT_CONFIGURE_has_wget=y
8
+ CT_CONFIGURE_has_curl=y
9
+ CT_CONFIGURE_has_rsync=y
10
+ CT_CONFIGURE_has_make_3_81_or_newer=y
11
+ CT_CONFIGURE_has_make_4_0_or_newer=y
12
+ CT_CONFIGURE_has_libtool_2_4_or_newer=y
13
+ CT_CONFIGURE_has_libtoolize_2_4_or_newer=y
14
+ CT_CONFIGURE_has_autoconf_2_65_or_newer=y
15
+ CT_CONFIGURE_has_autoreconf_2_65_or_newer=y
16
+ CT_CONFIGURE_has_automake_1_15_or_newer=y
17
+ CT_CONFIGURE_has_gnu_m4_1_4_12_or_newer=y
18
+ CT_CONFIGURE_has_python_3_4_or_newer=y
19
+ CT_CONFIGURE_has_bison_2_7_or_newer=y
20
+ CT_CONFIGURE_has_python=y
21
+ CT_CONFIGURE_has_dtc=y
22
+ CT_CONFIGURE_has_git=y
23
+ CT_CONFIGURE_has_md5sum=y
24
+ CT_CONFIGURE_has_sha1sum=y
25
+ CT_CONFIGURE_has_sha256sum=y
26
+ CT_CONFIGURE_has_sha512sum=y
27
+ CT_CONFIGURE_has_install_with_strip_program=y
28
+ CT_VERSION="1.25.0"
29
+ CT_VCHECK=""
30
+ CT_CONFIG_VERSION_ENV="4"
31
+ CT_CONFIG_VERSION_CURRENT="4"
32
+ CT_CONFIG_VERSION="4"
33
+ CT_MODULES=y
34
+
35
+ #
36
+ # Paths and misc options
37
+ #
38
+
39
+ #
40
+ # crosstool-NG behavior
41
+ #
42
+ # CT_OBSOLETE is not set
43
+ # CT_EXPERIMENTAL is not set
44
+ # CT_DEBUG_CT is not set
45
+
46
+ #
47
+ # Paths
48
+ #
49
+ CT_LOCAL_TARBALLS_DIR="${HOME}/src"
50
+ CT_SAVE_TARBALLS=y
51
+ # CT_TARBALLS_BUILDROOT_LAYOUT is not set
52
+ CT_WORK_DIR="${CT_TOP_DIR}/.build"
53
+ CT_BUILD_TOP_DIR="${CT_WORK_DIR:-${CT_TOP_DIR}/.build}/${CT_HOST:+HOST-${CT_HOST}/}${CT_TARGET}"
54
+ CT_BUILD_DIR="${CT_BUILD_TOP_DIR}/build"
55
+ CT_PREFIX_DIR="${CT_PREFIX:-${HOME}/x-tools}/${CT_HOST:+HOST-${CT_HOST}/}${CT_TARGET}"
56
+ CT_RM_RF_PREFIX_DIR=y
57
+ CT_REMOVE_DOCS=y
58
+ CT_INSTALL_LICENSES=y
59
+ # CT_PREFIX_DIR_RO is not set
60
+ CT_STRIP_HOST_TOOLCHAIN_EXECUTABLES=y
61
+ # CT_STRIP_TARGET_TOOLCHAIN_EXECUTABLES is not set
62
+
63
+ #
64
+ # Downloading
65
+ #
66
+ CT_DOWNLOAD_AGENT_WGET=y
67
+ # CT_DOWNLOAD_AGENT_CURL is not set
68
+ # CT_DOWNLOAD_AGENT_NONE is not set
69
+ # CT_FORBID_DOWNLOAD is not set
70
+ # CT_FORCE_DOWNLOAD is not set
71
+ CT_CONNECT_TIMEOUT=10
72
+ CT_DOWNLOAD_WGET_OPTIONS="--passive-ftp --tries=3 -nc --progress=dot:binary"
73
+ # CT_ONLY_DOWNLOAD is not set
74
+ # CT_USE_MIRROR is not set
75
+ CT_VERIFY_DOWNLOAD_DIGEST=y
76
+ CT_VERIFY_DOWNLOAD_DIGEST_SHA512=y
77
+ # CT_VERIFY_DOWNLOAD_DIGEST_SHA256 is not set
78
+ # CT_VERIFY_DOWNLOAD_DIGEST_SHA1 is not set
79
+ # CT_VERIFY_DOWNLOAD_DIGEST_MD5 is not set
80
+ CT_VERIFY_DOWNLOAD_DIGEST_ALG="sha512"
81
+ # CT_VERIFY_DOWNLOAD_SIGNATURE is not set
82
+
83
+ #
84
+ # Extracting
85
+ #
86
+ # CT_FORCE_EXTRACT is not set
87
+ CT_OVERRIDE_CONFIG_GUESS_SUB=y
88
+ # CT_ONLY_EXTRACT is not set
89
+ CT_PATCH_BUNDLED=y
90
+ # CT_PATCH_BUNDLED_LOCAL is not set
91
+ CT_PATCH_ORDER="bundled"
92
+
93
+ #
94
+ # Build behavior
95
+ #
96
+ CT_PARALLEL_JOBS=0
97
+ CT_LOAD=""
98
+ CT_USE_PIPES=y
99
+ CT_EXTRA_CFLAGS_FOR_BUILD=""
100
+ CT_EXTRA_CXXFLAGS_FOR_BUILD=""
101
+ CT_EXTRA_LDFLAGS_FOR_BUILD=""
102
+ CT_EXTRA_CFLAGS_FOR_HOST=""
103
+ CT_EXTRA_LDFLAGS_FOR_HOST=""
104
+ # CT_CONFIG_SHELL_SH is not set
105
+ # CT_CONFIG_SHELL_ASH is not set
106
+ CT_CONFIG_SHELL_BASH=y
107
+ # CT_CONFIG_SHELL_CUSTOM is not set
108
+ CT_CONFIG_SHELL="${bash}"
109
+
110
+ #
111
+ # Logging
112
+ #
113
+ # CT_LOG_ERROR is not set
114
+ # CT_LOG_WARN is not set
115
+ # CT_LOG_INFO is not set
116
+ CT_LOG_EXTRA=y
117
+ # CT_LOG_ALL is not set
118
+ # CT_LOG_DEBUG is not set
119
+ CT_LOG_LEVEL_MAX="EXTRA"
120
+ # CT_LOG_SEE_TOOLS_WARN is not set
121
+ CT_LOG_PROGRESS_BAR=n
122
+ CT_LOG_TO_FILE=y
123
+ CT_LOG_FILE_COMPRESS=y
124
+ # end of Paths and misc options
125
+
126
+ #
127
+ # Target options
128
+ #
129
+ # CT_ARCH_ALPHA is not set
130
+ # CT_ARCH_ARC is not set
131
+ # CT_ARCH_ARM is not set
132
+ # CT_ARCH_AVR is not set
133
+ # CT_ARCH_M68K is not set
134
+ # CT_ARCH_MIPS is not set
135
+ # CT_ARCH_NIOS2 is not set
136
+ # CT_ARCH_POWERPC is not set
137
+ # CT_ARCH_PRU is not set
138
+ # CT_ARCH_S390 is not set
139
+ # CT_ARCH_SH is not set
140
+ # CT_ARCH_SPARC is not set
141
+ CT_ARCH_X86=y
142
+ # CT_ARCH_XTENSA is not set
143
+ CT_ARCH="x86"
144
+ CT_ARCH_CHOICE_KSYM="X86"
145
+ CT_ARCH_CPU=""
146
+ CT_ARCH_TUNE=""
147
+ CT_ARCH_X86_SHOW=y
148
+
149
+ #
150
+ # Options for x86
151
+ #
152
+ CT_ARCH_X86_PKG_KSYM=""
153
+ CT_ALL_ARCH_CHOICES="ALPHA ARC ARM AVR C6X M68K MICROBLAZE MIPS MOXIE MSP430 NIOS2 POWERPC PRU RISCV S390 SH SPARC X86 XTENSA"
154
+ CT_ARCH_SUFFIX=""
155
+ CT_OMIT_TARGET_VENDOR=y
156
+
157
+ #
158
+ # Generic target options
159
+ #
160
+ # CT_MULTILIB is not set
161
+ CT_DEMULTILIB=y
162
+ CT_ARCH_USE_MMU=y
163
+ CT_ARCH_SUPPORTS_32=y
164
+ CT_ARCH_SUPPORTS_64=y
165
+ CT_ARCH_DEFAULT_32=y
166
+ CT_ARCH_BITNESS=64
167
+ # CT_ARCH_32 is not set
168
+ CT_ARCH_64=y
169
+ CT_ARCH_SUPPORTS_WITH_32_64=y
170
+
171
+ #
172
+ # Target optimisations
173
+ #
174
+ CT_ARCH_SUPPORTS_WITH_ARCH=y
175
+ CT_ARCH_SUPPORTS_WITH_CPU=y
176
+ CT_ARCH_SUPPORTS_WITH_TUNE=y
177
+ CT_ARCH_ARCH=""
178
+ CT_TARGET_CFLAGS=""
179
+ CT_TARGET_LDFLAGS=""
180
+ # end of Target options
181
+
182
+ #
183
+ # Toolchain options
184
+ #
185
+
186
+ #
187
+ # General toolchain options
188
+ #
189
+ CT_FORCE_SYSROOT=y
190
+ CT_USE_SYSROOT=y
191
+ CT_SYSROOT_NAME="sysroot"
192
+ CT_SYSROOT_DIR_PREFIX=""
193
+ CT_WANTS_STATIC_LINK=y
194
+ CT_WANTS_STATIC_LINK_CXX=y
195
+ CT_STATIC_TOOLCHAIN=y
196
+ CT_SHOW_CT_VERSION=y
197
+ CT_TOOLCHAIN_PKGVERSION=""
198
+ CT_TOOLCHAIN_BUGURL=""
199
+
200
+ #
201
+ # Tuple completion and aliasing
202
+ #
203
+ CT_TARGET_ALIAS_SED_EXPR=""
204
+ CT_TARGET_ALIAS=""
205
+
206
+ #
207
+ # Toolchain type
208
+ #
209
+ CT_CROSS=y
210
+ # CT_CANADIAN is not set
211
+ CT_TOOLCHAIN_TYPE="cross"
212
+
213
+ #
214
+ # Build system
215
+ #
216
+ CT_BUILD=""
217
+ CT_BUILD_PREFIX=""
218
+ CT_BUILD_SUFFIX=""
219
+
220
+ #
221
+ # Misc options
222
+ #
223
+ # CT_TOOLCHAIN_ENABLE_NLS is not set
224
+ # end of Toolchain options
225
+
226
+ #
227
+ # Operating System
228
+ #
229
+ CT_KERNEL_SUPPORTS_SHARED_LIBS=y
230
+ # CT_KERNEL_BARE_METAL is not set
231
+ CT_KERNEL_LINUX=y
232
+ CT_KERNEL="linux"
233
+ CT_KERNEL_CHOICE_KSYM="LINUX"
234
+ CT_KERNEL_LINUX_SHOW=y
235
+
236
+ #
237
+ # Options for linux
238
+ #
239
+ CT_KERNEL_LINUX_PKG_KSYM="LINUX"
240
+ CT_LINUX_DIR_NAME="linux"
241
+ CT_LINUX_USE_WWW_KERNEL_ORG=y
242
+ # CT_LINUX_USE_ORACLE is not set
243
+ CT_LINUX_USE="LINUX"
244
+ CT_LINUX_PKG_NAME="linux"
245
+ CT_LINUX_SRC_RELEASE=y
246
+ # CT_LINUX_SRC_DEVEL is not set
247
+ CT_LINUX_PATCH_ORDER="global"
248
+ CT_LINUX_V_5_16=y
249
+ # CT_LINUX_V_5_15 is not set
250
+ # CT_LINUX_V_5_14 is not set
251
+ # CT_LINUX_V_5_13 is not set
252
+ # CT_LINUX_V_5_12 is not set
253
+ # CT_LINUX_V_5_11 is not set
254
+ # CT_LINUX_V_5_10 is not set
255
+ # CT_LINUX_V_5_9 is not set
256
+ # CT_LINUX_V_5_8 is not set
257
+ # CT_LINUX_V_5_7 is not set
258
+ # CT_LINUX_V_5_4 is not set
259
+ # CT_LINUX_V_5_3 is not set
260
+ # CT_LINUX_V_5_2 is not set
261
+ # CT_LINUX_V_5_1 is not set
262
+ # CT_LINUX_V_5_0 is not set
263
+ # CT_LINUX_V_4_20 is not set
264
+ # CT_LINUX_V_4_19 is not set
265
+ # CT_LINUX_V_4_18 is not set
266
+ # CT_LINUX_V_4_17 is not set
267
+ # CT_LINUX_V_4_16 is not set
268
+ # CT_LINUX_V_4_15 is not set
269
+ # CT_LINUX_V_4_14 is not set
270
+ # CT_LINUX_V_4_13 is not set
271
+ # CT_LINUX_V_4_12 is not set
272
+ # CT_LINUX_V_4_11 is not set
273
+ # CT_LINUX_V_4_10 is not set
274
+ # CT_LINUX_V_4_9 is not set
275
+ # CT_LINUX_V_4_4 is not set
276
+ # CT_LINUX_V_4_1 is not set
277
+ # CT_LINUX_V_3_16 is not set
278
+ # CT_LINUX_V_3_13 is not set
279
+ # CT_LINUX_V_3_12 is not set
280
+ # CT_LINUX_V_3_10 is not set
281
+ # CT_LINUX_V_3_4 is not set
282
+ # CT_LINUX_V_3_2 is not set
283
+ # CT_LINUX_V_2_6_32 is not set
284
+ CT_LINUX_VERSION="5.16.9"
285
+ CT_LINUX_MIRRORS="$(CT_Mirrors kernel.org linux ${CT_LINUX_VERSION})"
286
+ CT_LINUX_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
287
+ CT_LINUX_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
288
+ CT_LINUX_ARCHIVE_FORMATS=".tar.xz .tar.gz"
289
+ CT_LINUX_SIGNATURE_FORMAT="unpacked/.sign"
290
+ CT_LINUX_later_than_5_12=y
291
+ CT_LINUX_5_12_or_later=y
292
+ CT_LINUX_later_than_5_3=y
293
+ CT_LINUX_5_3_or_later=y
294
+ CT_LINUX_later_than_4_8=y
295
+ CT_LINUX_4_8_or_later=y
296
+ CT_LINUX_later_than_3_7=y
297
+ CT_LINUX_3_7_or_later=y
298
+ CT_LINUX_later_than_3_2=y
299
+ CT_LINUX_3_2_or_later=y
300
+ CT_KERNEL_DEP_RSYNC=y
301
+ CT_KERNEL_LINUX_VERBOSITY_0=y
302
+ # CT_KERNEL_LINUX_VERBOSITY_1 is not set
303
+ # CT_KERNEL_LINUX_VERBOSITY_2 is not set
304
+ CT_KERNEL_LINUX_VERBOSE_LEVEL=0
305
+ CT_KERNEL_LINUX_INSTALL_CHECK=y
306
+ CT_ALL_KERNEL_CHOICES="BARE_METAL LINUX WINDOWS"
307
+
308
+ #
309
+ # Common kernel options
310
+ #
311
+ CT_SHARED_LIBS=y
312
+ # end of Operating System
313
+
314
+ #
315
+ # Binary utilities
316
+ #
317
+ CT_ARCH_BINFMT_ELF=y
318
+ CT_BINUTILS_BINUTILS=y
319
+ CT_BINUTILS="binutils"
320
+ CT_BINUTILS_CHOICE_KSYM="BINUTILS"
321
+ CT_BINUTILS_BINUTILS_SHOW=y
322
+
323
+ #
324
+ # Options for binutils
325
+ #
326
+ CT_BINUTILS_BINUTILS_PKG_KSYM="BINUTILS"
327
+ CT_BINUTILS_DIR_NAME="binutils"
328
+ CT_BINUTILS_USE_GNU=y
329
+ # CT_BINUTILS_USE_ORACLE is not set
330
+ CT_BINUTILS_USE="BINUTILS"
331
+ CT_BINUTILS_PKG_NAME="binutils"
332
+ CT_BINUTILS_SRC_RELEASE=y
333
+ # CT_BINUTILS_SRC_DEVEL is not set
334
+ CT_BINUTILS_PATCH_ORDER="global"
335
+ # CT_BINUTILS_V_2_38 is not set
336
+ # CT_BINUTILS_V_2_37 is not set
337
+ # CT_BINUTILS_V_2_36 is not set
338
+ # CT_BINUTILS_V_2_35 is not set
339
+ # CT_BINUTILS_V_2_34 is not set
340
+ # CT_BINUTILS_V_2_33 is not set
341
+ # CT_BINUTILS_V_2_32 is not set
342
+ # CT_BINUTILS_V_2_31 is not set
343
+ # CT_BINUTILS_V_2_30 is not set
344
+ CT_BINUTILS_V_2_29=y
345
+ # CT_BINUTILS_V_2_28 is not set
346
+ # CT_BINUTILS_V_2_27 is not set
347
+ # CT_BINUTILS_V_2_26 is not set
348
+ CT_BINUTILS_VERSION="2.29.1"
349
+ CT_BINUTILS_MIRRORS="$(CT_Mirrors GNU binutils) $(CT_Mirrors sourceware binutils/releases)"
350
+ CT_BINUTILS_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
351
+ CT_BINUTILS_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
352
+ CT_BINUTILS_ARCHIVE_FORMATS=".tar.xz .tar.bz2 .tar.gz"
353
+ CT_BINUTILS_SIGNATURE_FORMAT="packed/.sig"
354
+ CT_BINUTILS_2_30_or_older=y
355
+ CT_BINUTILS_older_than_2_30=y
356
+ CT_BINUTILS_later_than_2_27=y
357
+ CT_BINUTILS_2_27_or_later=y
358
+ CT_BINUTILS_later_than_2_26=y
359
+ CT_BINUTILS_2_26_or_later=y
360
+
361
+ #
362
+ # GNU binutils
363
+ #
364
+ CT_BINUTILS_GOLD_SUPPORTS_ARCH=y
365
+ CT_BINUTILS_FORCE_LD_BFD_DEFAULT=y
366
+ CT_BINUTILS_LINKER_LD=y
367
+ CT_BINUTILS_LINKERS_LIST="ld"
368
+ CT_BINUTILS_LINKER_DEFAULT="bfd"
369
+ CT_BINUTILS_RELRO=m
370
+ CT_BINUTILS_DETERMINISTIC_ARCHIVES=y
371
+ CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
372
+ # CT_BINUTILS_FOR_TARGET is not set
373
+ CT_ALL_BINUTILS_CHOICES="BINUTILS"
374
+ # end of Binary utilities
375
+
376
+ #
377
+ # C-library
378
+ #
379
+ CT_LIBC_GLIBC=y
380
+ # CT_LIBC_UCLIBC_NG is not set
381
+ CT_LIBC="glibc"
382
+ CT_LIBC_CHOICE_KSYM="GLIBC"
383
+ CT_THREADS="nptl"
384
+ CT_LIBC_GLIBC_SHOW=y
385
+
386
+ #
387
+ # Options for glibc
388
+ #
389
+ CT_LIBC_GLIBC_PKG_KSYM="GLIBC"
390
+ CT_GLIBC_DIR_NAME="glibc"
391
+ CT_GLIBC_USE_GNU=y
392
+ # CT_GLIBC_USE_ORACLE is not set
393
+ CT_GLIBC_USE="GLIBC"
394
+ CT_GLIBC_PKG_NAME="glibc"
395
+ CT_GLIBC_SRC_RELEASE=y
396
+ # CT_GLIBC_SRC_DEVEL is not set
397
+ CT_GLIBC_PATCH_ORDER="global"
398
+ # CT_GLIBC_V_2_35 is not set
399
+ # CT_GLIBC_V_2_34 is not set
400
+ # CT_GLIBC_V_2_33 is not set
401
+ # CT_GLIBC_V_2_32 is not set
402
+ # CT_GLIBC_V_2_31 is not set
403
+ # CT_GLIBC_V_2_30 is not set
404
+ # CT_GLIBC_V_2_29 is not set
405
+ # CT_GLIBC_V_2_28 is not set
406
+ # CT_GLIBC_V_2_27 is not set
407
+ # CT_GLIBC_V_2_26 is not set
408
+ # CT_GLIBC_V_2_25 is not set
409
+ # CT_GLIBC_V_2_24 is not set
410
+ # CT_GLIBC_V_2_23 is not set
411
+ # CT_GLIBC_V_2_19 is not set
412
+ CT_GLIBC_V_2_17=y
413
+ CT_GLIBC_VERSION="2.17"
414
+ CT_GLIBC_MIRRORS="$(CT_Mirrors GNU glibc)"
415
+ CT_GLIBC_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
416
+ CT_GLIBC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
417
+ CT_GLIBC_ARCHIVE_FORMATS=".tar.xz .tar.bz2 .tar.gz"
418
+ CT_GLIBC_SIGNATURE_FORMAT="packed/.sig"
419
+ CT_GLIBC_2_34_or_older=y
420
+ CT_GLIBC_older_than_2_34=y
421
+ CT_GLIBC_2_32_or_older=y
422
+ CT_GLIBC_older_than_2_32=y
423
+ CT_GLIBC_2_31_or_older=y
424
+ CT_GLIBC_older_than_2_31=y
425
+ CT_GLIBC_2_30_or_older=y
426
+ CT_GLIBC_older_than_2_30=y
427
+ CT_GLIBC_2_29_or_older=y
428
+ CT_GLIBC_older_than_2_29=y
429
+ CT_GLIBC_2_28_or_older=y
430
+ CT_GLIBC_older_than_2_28=y
431
+ CT_GLIBC_2_27_or_older=y
432
+ CT_GLIBC_older_than_2_27=y
433
+ CT_GLIBC_2_26_or_older=y
434
+ CT_GLIBC_older_than_2_26=y
435
+ CT_GLIBC_2_25_or_older=y
436
+ CT_GLIBC_older_than_2_25=y
437
+ CT_GLIBC_2_24_or_older=y
438
+ CT_GLIBC_older_than_2_24=y
439
+ CT_GLIBC_2_23_or_older=y
440
+ CT_GLIBC_older_than_2_23=y
441
+ CT_GLIBC_2_20_or_older=y
442
+ CT_GLIBC_older_than_2_20=y
443
+ CT_GLIBC_2_17_or_later=y
444
+ CT_GLIBC_2_17_or_older=y
445
+ CT_GLIBC_later_than_2_14=y
446
+ CT_GLIBC_2_14_or_later=y
447
+ CT_GLIBC_DEP_KERNEL_HEADERS_VERSION=y
448
+ CT_GLIBC_DEP_BINUTILS=y
449
+ CT_GLIBC_DEP_GCC=y
450
+ CT_GLIBC_DEP_PYTHON=y
451
+ CT_GLIBC_SPARC_ALLOW_V7=y
452
+ CT_GLIBC_HAS_NPTL_ADDON=y
453
+ CT_GLIBC_HAS_PORTS_ADDON=y
454
+ CT_GLIBC_HAS_LIBIDN_ADDON=y
455
+ CT_GLIBC_USE_NPTL_ADDON=y
456
+ # CT_GLIBC_USE_LIBIDN_ADDON is not set
457
+ CT_GLIBC_HAS_OBSOLETE_RPC=y
458
+ CT_GLIBC_EXTRA_CONFIG_ARRAY=""
459
+ CT_GLIBC_CONFIGPARMS=""
460
+ CT_GLIBC_EXTRA_CFLAGS="-Wno-missing-attributes -Wno-array-bounds -Wno-array-parameter -Wno-stringop-overflow -Wno-maybe-uninitialized"
461
+ CT_GLIBC_ENABLE_OBSOLETE_RPC=y
462
+ # CT_GLIBC_DISABLE_VERSIONING is not set
463
+ CT_GLIBC_OLDEST_ABI="glibc-2.17"
464
+ CT_GLIBC_FORCE_UNWIND=y
465
+ # CT_GLIBC_LOCALES is not set
466
+ # CT_GLIBC_KERNEL_VERSION_NONE is not set
467
+ CT_GLIBC_KERNEL_VERSION_AS_HEADERS=y
468
+ # CT_GLIBC_KERNEL_VERSION_CHOSEN is not set
469
+ CT_GLIBC_MIN_KERNEL="5.16.9"
470
+ CT_GLIBC_ENABLE_COMMON_FLAG=y
471
+ CT_ALL_LIBC_CHOICES="AVR_LIBC BIONIC GLIBC MINGW_W64 MOXIEBOX MUSL NEWLIB NONE UCLIBC_NG"
472
+ CT_LIBC_SUPPORT_THREADS_ANY=y
473
+ CT_LIBC_SUPPORT_THREADS_NATIVE=y
474
+
475
+ #
476
+ # Common C library options
477
+ #
478
+ CT_THREADS_NATIVE=y
479
+ # CT_CREATE_LDSO_CONF is not set
480
+ # CT_LIBC_XLDD is not set
481
+ # end of C-library
482
+
483
+ #
484
+ # C compiler
485
+ #
486
+ CT_CC_CORE_NEEDED=y
487
+ CT_CC_SUPPORT_CXX=y
488
+ CT_CC_SUPPORT_FORTRAN=y
489
+ CT_CC_SUPPORT_ADA=y
490
+ CT_CC_SUPPORT_OBJC=y
491
+ CT_CC_SUPPORT_OBJCXX=y
492
+ CT_CC_SUPPORT_GOLANG=y
493
+ CT_CC_GCC=y
494
+ CT_CC="gcc"
495
+ CT_CC_CHOICE_KSYM="GCC"
496
+ CT_CC_GCC_SHOW=y
497
+
498
+ #
499
+ # Options for gcc
500
+ #
501
+ CT_CC_GCC_PKG_KSYM="GCC"
502
+ CT_GCC_DIR_NAME="gcc"
503
+ CT_GCC_USE_GNU=y
504
+ CT_GCC_USE="GCC"
505
+ CT_GCC_PKG_NAME="gcc"
506
+ CT_GCC_SRC_RELEASE=y
507
+ # CT_GCC_SRC_DEVEL is not set
508
+ CT_GCC_PATCH_ORDER="global"
509
+ CT_GCC_V_11=y
510
+ # CT_GCC_V_10 is not set
511
+ # CT_GCC_V_9 is not set
512
+ # CT_GCC_V_8 is not set
513
+ # CT_GCC_V_7 is not set
514
+ # CT_GCC_V_6 is not set
515
+ # CT_GCC_V_5 is not set
516
+ # CT_GCC_V_4_9 is not set
517
+ CT_GCC_VERSION="11.2.0"
518
+ CT_GCC_MIRRORS="$(CT_Mirrors GNU gcc/gcc-${CT_GCC_VERSION}) $(CT_Mirrors sourceware gcc/releases/gcc-${CT_GCC_VERSION})"
519
+ CT_GCC_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
520
+ CT_GCC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
521
+ CT_GCC_ARCHIVE_FORMATS=".tar.xz .tar.gz"
522
+ CT_GCC_SIGNATURE_FORMAT=""
523
+ CT_GCC_later_than_11=y
524
+ CT_GCC_11_or_later=y
525
+ CT_GCC_later_than_10=y
526
+ CT_GCC_10_or_later=y
527
+ CT_GCC_later_than_9=y
528
+ CT_GCC_9_or_later=y
529
+ CT_GCC_later_than_8=y
530
+ CT_GCC_8_or_later=y
531
+ CT_GCC_later_than_7=y
532
+ CT_GCC_7_or_later=y
533
+ CT_GCC_later_than_6=y
534
+ CT_GCC_6_or_later=y
535
+ CT_GCC_later_than_5=y
536
+ CT_GCC_5_or_later=y
537
+ CT_GCC_later_than_4_9=y
538
+ CT_GCC_4_9_or_later=y
539
+ CT_CC_GCC_HAS_LIBMPX=y
540
+ CT_CC_GCC_ENABLE_CXX_FLAGS=""
541
+ CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY=""
542
+ CT_CC_GCC_EXTRA_CONFIG_ARRAY=""
543
+ CT_CC_GCC_STATIC_LIBSTDCXX=y
544
+ # CT_CC_GCC_SYSTEM_ZLIB is not set
545
+ CT_CC_GCC_CONFIG_TLS=m
546
+
547
+ #
548
+ # Optimisation features
549
+ #
550
+ CT_CC_GCC_USE_GRAPHITE=y
551
+
552
+ #
553
+ # Settings for libraries running on target
554
+ #
555
+ CT_CC_GCC_ENABLE_TARGET_OPTSPACE=y
556
+ # CT_CC_GCC_LIBMUDFLAP is not set
557
+ # CT_CC_GCC_LIBGOMP is not set
558
+ # CT_CC_GCC_LIBSSP is not set
559
+ # CT_CC_GCC_LIBQUADMATH is not set
560
+ # CT_CC_GCC_LIBSANITIZER is not set
561
+ # CT_CC_GCC_LIBMPX is not set
562
+
563
+ #
564
+ # Misc. obscure options.
565
+ #
566
+ CT_CC_CXA_ATEXIT=y
567
+ CT_CC_GCC_TM_CLONE_REGISTRY=m
568
+ # CT_CC_GCC_DISABLE_PCH is not set
569
+ CT_CC_GCC_SJLJ_EXCEPTIONS=m
570
+ CT_CC_GCC_LDBL_128=m
571
+ # CT_CC_GCC_BUILD_ID is not set
572
+ CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y
573
+ # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set
574
+ # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set
575
+ # CT_CC_GCC_LNK_HASH_STYLE_BOTH is not set
576
+ CT_CC_GCC_LNK_HASH_STYLE=""
577
+ CT_CC_GCC_DEC_FLOATS_AUTO=y
578
+ # CT_CC_GCC_DEC_FLOATS_BID is not set
579
+ # CT_CC_GCC_DEC_FLOATS_DPD is not set
580
+ # CT_CC_GCC_DEC_FLOATS_NO is not set
581
+ CT_CC_GCC_DEC_FLOATS=""
582
+ CT_ALL_CC_CHOICES="GCC"
583
+
584
+ #
585
+ # Additional supported languages:
586
+ #
587
+ CT_CC_LANG_CXX=y
588
+ # CT_CC_LANG_FORTRAN is not set
589
+ # end of C compiler
590
+
591
+ #
592
+ # Debug facilities
593
+ #
594
+ # CT_DEBUG_DUMA is not set
595
+ # CT_DEBUG_GDB is not set
596
+ # CT_DEBUG_LTRACE is not set
597
+ # CT_DEBUG_STRACE is not set
598
+ CT_ALL_DEBUG_CHOICES="DUMA GDB LTRACE STRACE"
599
+ # end of Debug facilities
600
+
601
+ #
602
+ # Companion libraries
603
+ #
604
+ # CT_COMPLIBS_CHECK is not set
605
+ # CT_COMP_LIBS_CLOOG is not set
606
+ # CT_COMP_LIBS_EXPAT is not set
607
+ CT_COMP_LIBS_GETTEXT=y
608
+ CT_COMP_LIBS_GETTEXT_PKG_KSYM="GETTEXT"
609
+ CT_GETTEXT_DIR_NAME="gettext"
610
+ CT_GETTEXT_PKG_NAME="gettext"
611
+ CT_GETTEXT_SRC_RELEASE=y
612
+ # CT_GETTEXT_SRC_DEVEL is not set
613
+ CT_GETTEXT_PATCH_ORDER="global"
614
+ CT_GETTEXT_V_0_21=y
615
+ # CT_GETTEXT_V_0_20_1 is not set
616
+ # CT_GETTEXT_V_0_19_8_1 is not set
617
+ CT_GETTEXT_VERSION="0.21"
618
+ CT_GETTEXT_MIRRORS="$(CT_Mirrors GNU gettext)"
619
+ CT_GETTEXT_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
620
+ CT_GETTEXT_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
621
+ CT_GETTEXT_ARCHIVE_FORMATS=".tar.xz .tar.gz"
622
+ CT_GETTEXT_SIGNATURE_FORMAT="packed/.sig"
623
+ CT_GETTEXT_0_21_or_later=y
624
+ CT_GETTEXT_0_21_or_older=y
625
+ CT_GETTEXT_INCOMPATIBLE_WITH_UCLIBC_NG=y
626
+
627
+ #
628
+ # This version of gettext is not compatible with uClibc-NG. Select
629
+ #
630
+
631
+ #
632
+ # a different version if uClibc-NG is used on the target or (in a
633
+ #
634
+
635
+ #
636
+ # Canadian cross build) on the host.
637
+ #
638
+ CT_COMP_LIBS_GMP=y
639
+ CT_COMP_LIBS_GMP_PKG_KSYM="GMP"
640
+ CT_GMP_DIR_NAME="gmp"
641
+ CT_GMP_PKG_NAME="gmp"
642
+ CT_GMP_SRC_RELEASE=y
643
+ # CT_GMP_SRC_DEVEL is not set
644
+ CT_GMP_PATCH_ORDER="global"
645
+ CT_GMP_V_6_2=y
646
+ # CT_GMP_V_6_1 is not set
647
+ CT_GMP_VERSION="6.2.1"
648
+ CT_GMP_MIRRORS="https://gmplib.org/download/gmp https://gmplib.org/download/gmp/archive $(CT_Mirrors GNU gmp)"
649
+ CT_GMP_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
650
+ CT_GMP_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
651
+ CT_GMP_ARCHIVE_FORMATS=".tar.xz .tar.lz .tar.bz2"
652
+ CT_GMP_SIGNATURE_FORMAT="packed/.sig"
653
+ CT_COMP_LIBS_ISL=y
654
+ CT_COMP_LIBS_ISL_PKG_KSYM="ISL"
655
+ CT_ISL_DIR_NAME="isl"
656
+ CT_ISL_PKG_NAME="isl"
657
+ CT_ISL_SRC_RELEASE=y
658
+ # CT_ISL_SRC_DEVEL is not set
659
+ CT_ISL_PATCH_ORDER="global"
660
+ CT_ISL_V_0_24=y
661
+ # CT_ISL_V_0_23 is not set
662
+ # CT_ISL_V_0_22 is not set
663
+ # CT_ISL_V_0_21 is not set
664
+ # CT_ISL_V_0_20 is not set
665
+ # CT_ISL_V_0_19 is not set
666
+ # CT_ISL_V_0_18 is not set
667
+ # CT_ISL_V_0_17 is not set
668
+ # CT_ISL_V_0_16 is not set
669
+ # CT_ISL_V_0_15 is not set
670
+ CT_ISL_VERSION="0.24"
671
+ CT_ISL_MIRRORS="https://libisl.sourceforge.io"
672
+ CT_ISL_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
673
+ CT_ISL_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
674
+ CT_ISL_ARCHIVE_FORMATS=".tar.xz .tar.bz2 .tar.gz"
675
+ CT_ISL_SIGNATURE_FORMAT=""
676
+ CT_ISL_later_than_0_18=y
677
+ CT_ISL_0_18_or_later=y
678
+ CT_ISL_later_than_0_15=y
679
+ CT_ISL_0_15_or_later=y
680
+ # CT_COMP_LIBS_LIBELF is not set
681
+ CT_COMP_LIBS_LIBICONV=y
682
+ CT_COMP_LIBS_LIBICONV_PKG_KSYM="LIBICONV"
683
+ CT_LIBICONV_DIR_NAME="libiconv"
684
+ CT_LIBICONV_PKG_NAME="libiconv"
685
+ CT_LIBICONV_SRC_RELEASE=y
686
+ # CT_LIBICONV_SRC_DEVEL is not set
687
+ CT_LIBICONV_PATCH_ORDER="global"
688
+ CT_LIBICONV_V_1_16=y
689
+ # CT_LIBICONV_V_1_15 is not set
690
+ CT_LIBICONV_VERSION="1.16"
691
+ CT_LIBICONV_MIRRORS="$(CT_Mirrors GNU libiconv)"
692
+ CT_LIBICONV_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
693
+ CT_LIBICONV_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
694
+ CT_LIBICONV_ARCHIVE_FORMATS=".tar.gz"
695
+ CT_LIBICONV_SIGNATURE_FORMAT="packed/.sig"
696
+ CT_COMP_LIBS_MPC=y
697
+ CT_COMP_LIBS_MPC_PKG_KSYM="MPC"
698
+ CT_MPC_DIR_NAME="mpc"
699
+ CT_MPC_PKG_NAME="mpc"
700
+ CT_MPC_SRC_RELEASE=y
701
+ # CT_MPC_SRC_DEVEL is not set
702
+ CT_MPC_PATCH_ORDER="global"
703
+ CT_MPC_V_1_2=y
704
+ # CT_MPC_V_1_1 is not set
705
+ # CT_MPC_V_1_0 is not set
706
+ CT_MPC_VERSION="1.2.1"
707
+ CT_MPC_MIRRORS="http://www.multiprecision.org/downloads $(CT_Mirrors GNU mpc)"
708
+ CT_MPC_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
709
+ CT_MPC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
710
+ CT_MPC_ARCHIVE_FORMATS=".tar.gz"
711
+ CT_MPC_SIGNATURE_FORMAT="packed/.sig"
712
+ CT_MPC_later_than_1_1_0=y
713
+ CT_MPC_1_1_0_or_later=y
714
+ CT_COMP_LIBS_MPFR=y
715
+ CT_COMP_LIBS_MPFR_PKG_KSYM="MPFR"
716
+ CT_MPFR_DIR_NAME="mpfr"
717
+ CT_MPFR_PKG_NAME="mpfr"
718
+ CT_MPFR_SRC_RELEASE=y
719
+ # CT_MPFR_SRC_DEVEL is not set
720
+ CT_MPFR_PATCH_ORDER="global"
721
+ CT_MPFR_V_4_1=y
722
+ # CT_MPFR_V_4_0 is not set
723
+ # CT_MPFR_V_3_1 is not set
724
+ CT_MPFR_VERSION="4.1.0"
725
+ CT_MPFR_MIRRORS="http://www.mpfr.org/mpfr-${CT_MPFR_VERSION} $(CT_Mirrors GNU mpfr)"
726
+ CT_MPFR_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
727
+ CT_MPFR_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
728
+ CT_MPFR_ARCHIVE_FORMATS=".tar.xz .tar.bz2 .tar.gz .zip"
729
+ CT_MPFR_SIGNATURE_FORMAT="packed/.asc"
730
+ CT_MPFR_later_than_4_0_0=y
731
+ CT_MPFR_4_0_0_or_later=y
732
+ CT_COMP_LIBS_NCURSES=y
733
+ CT_COMP_LIBS_NCURSES_PKG_KSYM="NCURSES"
734
+ CT_NCURSES_DIR_NAME="ncurses"
735
+ CT_NCURSES_PKG_NAME="ncurses"
736
+ CT_NCURSES_SRC_RELEASE=y
737
+ # CT_NCURSES_SRC_DEVEL is not set
738
+ CT_NCURSES_PATCH_ORDER="global"
739
+ CT_NCURSES_V_6_2=y
740
+ # CT_NCURSES_V_6_1 is not set
741
+ # CT_NCURSES_V_6_0 is not set
742
+ CT_NCURSES_VERSION="6.2"
743
+ CT_NCURSES_MIRRORS="https://invisible-mirror.net/archives/ncurses $(CT_Mirrors GNU ncurses)"
744
+ CT_NCURSES_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
745
+ CT_NCURSES_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
746
+ CT_NCURSES_ARCHIVE_FORMATS=".tar.gz"
747
+ CT_NCURSES_SIGNATURE_FORMAT="packed/.sig"
748
+ CT_NCURSES_NEW_ABI=y
749
+ CT_NCURSES_HOST_CONFIG_ARGS=""
750
+ CT_NCURSES_HOST_DISABLE_DB=y
751
+ CT_NCURSES_HOST_FALLBACKS="linux,xterm,xterm-color,xterm-256color,vt100"
752
+ CT_NCURSES_TARGET_CONFIG_ARGS=""
753
+ # CT_NCURSES_TARGET_DISABLE_DB is not set
754
+ CT_NCURSES_TARGET_FALLBACKS=""
755
+ CT_COMP_LIBS_ZLIB=y
756
+ CT_COMP_LIBS_ZLIB_PKG_KSYM="ZLIB"
757
+ CT_ZLIB_DIR_NAME="zlib"
758
+ CT_ZLIB_PKG_NAME="zlib"
759
+ CT_ZLIB_SRC_RELEASE=y
760
+ # CT_ZLIB_SRC_DEVEL is not set
761
+ CT_ZLIB_PATCH_ORDER="global"
762
+ CT_ZLIB_V_1_2_12=y
763
+ CT_ZLIB_VERSION="1.2.13"
764
+ CT_ZLIB_MIRRORS="http://downloads.sourceforge.net/project/libpng/zlib/${CT_ZLIB_VERSION} https://www.zlib.net/fossils/"
765
+ CT_ZLIB_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
766
+ CT_ZLIB_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
767
+ CT_ZLIB_ARCHIVE_FORMATS=".tar.xz .tar.gz"
768
+ CT_ZLIB_SIGNATURE_FORMAT="packed/.asc"
769
+ CT_ALL_COMP_LIBS_CHOICES="CLOOG EXPAT GETTEXT GMP GNUPRUMCU ISL LIBELF LIBICONV MPC MPFR NCURSES NEWLIB_NANO PICOLIBC ZLIB"
770
+ CT_LIBICONV_NEEDED=y
771
+ CT_GETTEXT_NEEDED=y
772
+ CT_GMP_NEEDED=y
773
+ CT_MPFR_NEEDED=y
774
+ CT_ISL_NEEDED=y
775
+ CT_MPC_NEEDED=y
776
+ CT_NCURSES_NEEDED=y
777
+ CT_ZLIB_NEEDED=y
778
+ CT_LIBICONV=y
779
+ CT_GETTEXT=y
780
+ CT_GMP=y
781
+ CT_MPFR=y
782
+ CT_ISL=y
783
+ CT_MPC=y
784
+ CT_NCURSES=y
785
+ CT_ZLIB=y
786
+ # end of Companion libraries
787
+
788
+ #
789
+ # Companion tools
790
+ #
791
+ # CT_COMP_TOOLS_FOR_HOST is not set
792
+ # CT_COMP_TOOLS_AUTOCONF is not set
793
+ # CT_COMP_TOOLS_AUTOMAKE is not set
794
+ # CT_COMP_TOOLS_BISON is not set
795
+ # CT_COMP_TOOLS_DTC is not set
796
+ # CT_COMP_TOOLS_LIBTOOL is not set
797
+ # CT_COMP_TOOLS_M4 is not set
798
+ # CT_COMP_TOOLS_MAKE is not set
799
+ CT_ALL_COMP_TOOLS_CHOICES="AUTOCONF AUTOMAKE BISON DTC LIBTOOL M4 MAKE"
800
+ # end of Companion tools
@@ -0,0 +1,37 @@
1
+ Metadata-Version: 2.4
2
+ Name: ppbt-cross-x86_64-linux-gnu
3
+ Version: 0.2.0
4
+ Summary: Portable Python Build Toolchain - x86_64-linux-gnu cross toolchain
5
+ Home-page: https://github.com/saltstack/ppbt
6
+ Author: Daniel A. Wozniak
7
+ Author-email: <daniel.wozniak@broadcom.com>
8
+ License: Apache License 2.0
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: License :: OSI Approved :: Apache Software License
11
+ Classifier: Development Status :: 2 - Pre-Alpha
12
+ Classifier: Operating System :: POSIX :: Linux
13
+ Requires-Python: >=3
14
+ Description-Content-Type: text/markdown
15
+ License-File: LICENSE.md
16
+ Dynamic: license-file
17
+
18
+ # ppbt-cross-x86_64-linux-gnu
19
+
20
+ Cross-toolchain plugin for [ppbt](https://github.com/saltstack/ppbt).
21
+
22
+ Ships a crosstool-ng-built GCC targeting `x86_64-linux-gnu` whose
23
+ driver binaries run on an `aarch64` host. Installed as an optional
24
+ extra of the base `ppbt` package:
25
+
26
+ ```
27
+ pip install ppbt[cross-x86_64-linux-gnu]
28
+ ```
29
+
30
+ Discovered at runtime by base `ppbt` via the `ppbt.toolchains` entry
31
+ point:
32
+
33
+ ```python
34
+ import ppbt
35
+ print(ppbt.available_triplets())
36
+ env = ppbt.environ(triplet="x86_64-linux-gnu", auto_extract=True)
37
+ ```
@@ -0,0 +1,12 @@
1
+ LICENSE.md
2
+ README.md
3
+ pyproject.toml
4
+ setup.cfg
5
+ setup.py
6
+ src/ppbt_cross_x86_64_linux_gnu/__init__.py
7
+ src/ppbt_cross_x86_64_linux_gnu.egg-info/PKG-INFO
8
+ src/ppbt_cross_x86_64_linux_gnu.egg-info/SOURCES.txt
9
+ src/ppbt_cross_x86_64_linux_gnu.egg-info/dependency_links.txt
10
+ src/ppbt_cross_x86_64_linux_gnu.egg-info/entry_points.txt
11
+ src/ppbt_cross_x86_64_linux_gnu.egg-info/top_level.txt
12
+ src/ppbt_cross_x86_64_linux_gnu/_config/x86_64-linux-gnu-ct-ng.config
@@ -0,0 +1,2 @@
1
+ [ppbt.toolchains]
2
+ x86_64-linux-gnu = ppbt_cross_x86_64_linux_gnu