aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2025-01-05 17:25:58 +1300
committerChris Packham <judge.packham@gmail.com>2025-01-08 14:22:50 +1300
commit32f288e61fee8528931bcd55bf106cf0cfb4e2a1 (patch)
tree95b4ed02c19be633d082d8cc136f635723f50083
parent154a58befd3471f4e1e0b95e1acf60b53e09df06 (diff)
downloadcrosstool-ng-32f288e61fee8528931bcd55bf106cf0cfb4e2a1.tar.gz
crosstool-ng-32f288e61fee8528931bcd55bf106cf0cfb4e2a1.tar.bz2
crosstool-ng-32f288e61fee8528931bcd55bf106cf0cfb4e2a1.zip
bpf: Use released binutils/gcc
When the bpf-unknown-none sample was added the target support was not in a released version of binutils or gcc. The support has been in a few versions of each of these for a while now. Update the sample to use released versions instead of potentially unstable versions from upstream. Signed-off-by: Chris Packham <judge.packham@gmail.com>
-rw-r--r--config/arch/bpf.in4
-rw-r--r--packages/binutils/package.desc2
-rw-r--r--samples/bpf-unknown-none/crosstool.config7
3 files changed, 3 insertions, 10 deletions
diff --git a/config/arch/bpf.in b/config/arch/bpf.in
index 9d0d7373..75cae2af 100644
--- a/config/arch/bpf.in
+++ b/config/arch/bpf.in
@@ -3,7 +3,7 @@
## no-package
## select ARCH_SUPPORTS_EITHER_ENDIAN
## select ARCH_DEFAULT_LE
-## select GCC_VERY_NEW
-## select BINUTILS_VERY_NEW
+## select GCC_REQUIRE_12_or_later
+## select BINUTILS_REQUIRE_2_41_or_later
##
## help The BPF architecture.
diff --git a/packages/binutils/package.desc b/packages/binutils/package.desc
index 259ce6c7..0b9b1ac1 100644
--- a/packages/binutils/package.desc
+++ b/packages/binutils/package.desc
@@ -2,6 +2,6 @@ repository='git git://sourceware.org/git/binutils-gdb.git'
mirrors='$(CT_Mirrors GNU binutils) $(CT_Mirrors sourceware binutils/releases)'
relevantpattern='*.*|.'
origin='GNU'
-milestones='2.26 2.27 2.30 2.39'
+milestones='2.26 2.27 2.30 2.39 2.41'
archive_formats='.tar.xz .tar.bz2 .tar.gz'
signature_format='packed/.sig'
diff --git a/samples/bpf-unknown-none/crosstool.config b/samples/bpf-unknown-none/crosstool.config
index 383f75d6..be71b235 100644
--- a/samples/bpf-unknown-none/crosstool.config
+++ b/samples/bpf-unknown-none/crosstool.config
@@ -1,11 +1,4 @@
CT_CONFIG_VERSION="4"
CT_ARCH_BPF=y
-CT_MULTILIB=n
-CT_TARGET_VENDOR="unknown"
-CT_TARGET_SYS=none
CT_TARGET_ALIAS="bpf-unknown"
-CT_GCC_SRC_DEVEL=y
-CT_GCC_DEVEL_BRANCH="master"
-CT_BINUTILS_SRC_DEVEL=y
-CT_BINUTILS_DEVEL_BRANCH="master"
CT_LIBC_NONE=y