aboutsummaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorCupertino Miranda <cupertino.miranda@oracle.com>2022-12-08 00:04:30 +0000
committerChris Packham <judge.packham@gmail.com>2022-12-14 17:11:02 +1300
commitdb4b7179ed83cedd87e5b79ef39e93a7b108238f (patch)
tree3b047861b4ad929640e09107d6ee5defe6dceb33 /samples
parent7f80447c5f66f588e57eb3da087b27eb2b0c8eec (diff)
downloadcrosstool-ng-db4b7179ed83cedd87e5b79ef39e93a7b108238f.tar.gz
crosstool-ng-db4b7179ed83cedd87e5b79ef39e93a7b108238f.tar.bz2
crosstool-ng-db4b7179ed83cedd87e5b79ef39e93a7b108238f.zip
Add BPF architecture target support
BPF is a virtual machine and associated ISA that resides in the Linux kernel. Initially intended for user-level packet capture and filtering, BPF is nowadays generalized to serve as a general-purpose infrastructure also for non-networking purposes. Signed-off-by: Cupertino Miranda <cupertino.miranda@oracle.com>
Diffstat (limited to 'samples')
-rw-r--r--samples/bpf-unknown-none/crosstool.config11
-rw-r--r--samples/bpf-unknown-none/reported.by3
2 files changed, 14 insertions, 0 deletions
diff --git a/samples/bpf-unknown-none/crosstool.config b/samples/bpf-unknown-none/crosstool.config
new file mode 100644
index 00000000..383f75d6
--- /dev/null
+++ b/samples/bpf-unknown-none/crosstool.config
@@ -0,0 +1,11 @@
+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
diff --git a/samples/bpf-unknown-none/reported.by b/samples/bpf-unknown-none/reported.by
new file mode 100644
index 00000000..1b18dcb4
--- /dev/null
+++ b/samples/bpf-unknown-none/reported.by
@@ -0,0 +1,3 @@
+reporter_name="Cupertino Miranda"
+reporter_url=""
+reporter_comment="BPF toolchain"