mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-20 09:06:19 +00:00
Add PRU cross tool target
Add sample configuration for building cross toolchain for the TI PRU. PRU cores are present in many of the BeagleBone single board computers. More information about the PRU can be found in https://bbb.io/pru Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
This commit is contained in:
parent
fcf323336e
commit
c800bc8c82
8
config/arch/pru.in
Normal file
8
config/arch/pru.in
Normal file
@ -0,0 +1,8 @@
|
||||
# PRU specific config options
|
||||
|
||||
## no-package
|
||||
## select ARCH_SUPPORTS_8
|
||||
## select ARCH_DEFAULT_8
|
||||
##
|
||||
## help The TI PRU core, as defined by:
|
||||
## help http://bbb.io/pru
|
@ -1,6 +1,6 @@
|
||||
# Linux kernel options
|
||||
|
||||
## depends on !ARCH_AVR && !ARCH_MSP430 && !ARCH_MOXIE
|
||||
## depends on !ARCH_AVR && !ARCH_MSP430 && !ARCH_MOXIE && !ARCH_PRU
|
||||
## select KERNEL_SUPPORTS_SHARED_LIBS
|
||||
|
||||
## help Build a toolchain targeting systems running Linux as a kernel.
|
||||
|
15
samples/pru/crosstool.config
Normal file
15
samples/pru/crosstool.config
Normal file
@ -0,0 +1,15 @@
|
||||
CT_CONFIG_VERSION="3"
|
||||
CT_ARCH_PRU=y
|
||||
CT_OMIT_TARGET_VENDOR=y
|
||||
# CT_DEMULTILIB is not set
|
||||
# CT_LIBC_NEWLIB_FVWRITE_IN_STREAMIO is not set
|
||||
# CT_LIBC_NEWLIB_UNBUF_STREAM_OPT is not set
|
||||
# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set
|
||||
# CT_LIBC_NEWLIB_ATEXIT_DYNAMIC_ALLOC is not set
|
||||
# CT_LIBC_NEWLIB_MULTITHREAD is not set
|
||||
CT_LIBC_NEWLIB_EXTRA_SECTIONS=y
|
||||
# CT_LIBC_NEWLIB_WIDE_ORIENT is not set
|
||||
CT_LIBC_NEWLIB_NANO_MALLOC=y
|
||||
CT_LIBC_NEWLIB_NANO_FORMATTED_IO=y
|
||||
CT_CC_LANG_CXX=y
|
||||
CT_COMP_TOOLS_MAKE=y
|
3
samples/pru/reported.by
Normal file
3
samples/pru/reported.by
Normal file
@ -0,0 +1,3 @@
|
||||
reporter_name="Dimitar Dimitrov"
|
||||
reporter_url="https://github.com/dinuxbg/gnupru"
|
||||
reporter_comment="PRU cross toolchain"
|
5
scripts/build/arch/pru.sh
Normal file
5
scripts/build/arch/pru.sh
Normal file
@ -0,0 +1,5 @@
|
||||
# Compute PRU-specific values
|
||||
|
||||
CT_DoArchTupleValues() {
|
||||
CT_TARGET_ARCH="${CT_ARCH}"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user