From 7b607897cdcd7c71e4b5608482343f0a7b72505d Mon Sep 17 00:00:00 2001 From: David P Date: Wed, 17 Jun 2020 16:45:47 -0400 Subject: cross: add recommendations for a good pkgdesc Signed-off-by: David P --- cross/cross-binutils/PKGBUILD | 17 +++++++++++++++++ cross/cross-gcc/PKGBUILD | 2 +- cross/cross-newlib/PKGBUILD | 17 +++++++++++++++++ 3 files changed, 35 insertions(+), 1 deletion(-) (limited to 'cross') diff --git a/cross/cross-binutils/PKGBUILD b/cross/cross-binutils/PKGBUILD index cc6465502..c54fb7c4d 100644 --- a/cross/cross-binutils/PKGBUILD +++ b/cross/cross-binutils/PKGBUILD @@ -67,6 +67,23 @@ # @ : bin/sys (Only sh4 and sh4l support) # < : experimental support. (future) +#-------------------------------------------------------------------------------- +# Choosing the correct pkgdesc +#-------------------------------------------------------------------------------- +# You must know wether your toolchain is a bare-metal one, if it's specifically for big-endian or +# little-endian order and know its full name, if possible. Here are some useful tips: +# +# * If the toolchain has no operating system (see the toolchain triplet, <_os_target>), then it's a +# bare-metal toolchain, in which case you have to specify it in the pkgdesc +# +# * Do a bit of research in forums, wikis and documents about the target you plan to build, a good +# idea is to see the description that other distros put (e.g. Debian) if they have the same toolchain +# +# Example: arm-linux-gnueabi-{gcc,binutils,$etc} +# This toolchain has GNU/Linux as OS, so it's not a bare-metal one. It's for armel, which +# stands for "ARM EABI little-endian", but the gnueabi part means it uses the GNU EABI. You can find +# that info in Debian's gcc-arm-linux-gnueabi and a couple of FLOSS and programmers community forums. + # Toolchain triplet: <_arch>--<_os_target> # is generally optional and uneeded _target=x86_64-pc-linux-gnu diff --git a/cross/cross-gcc/PKGBUILD b/cross/cross-gcc/PKGBUILD index 6fa116cca..99d834f99 100644 --- a/cross/cross-gcc/PKGBUILD +++ b/cross/cross-gcc/PKGBUILD @@ -84,7 +84,7 @@ # # * If the toolchain has no operating system (see the toolchain triplet, <_os_target>), then it's a # bare-metal toolchain, in which case you have to specify it in the pkgdesc -# +# # * Do a bit of research in forums, wikis and documents about the target you plan to build, a good # idea is to see the description that other distros put (e.g. Debian) if they have the same toolchain # diff --git a/cross/cross-newlib/PKGBUILD b/cross/cross-newlib/PKGBUILD index 458115759..f4bd43bcc 100644 --- a/cross/cross-newlib/PKGBUILD +++ b/cross/cross-newlib/PKGBUILD @@ -66,6 +66,23 @@ # @ : bin/sys (Only sh4 and sh4l support) # < : experimental support. (future) +#-------------------------------------------------------------------------------- +# Choosing the correct pkgdesc +#-------------------------------------------------------------------------------- +# You must know wether your toolchain is a bare-metal one, if it's specifically for big-endian or +# little-endian order and know its full name, if possible. Here are some useful tips: +# +# * If the toolchain has no operating system (see the toolchain triplet, <_os_target>), then it's a +# bare-metal toolchain, in which case you have to specify it in the pkgdesc +# +# * Do a bit of research in forums, wikis and documents about the target you plan to build, a good +# idea is to see the description that other distros put (e.g. Debian) if they have the same toolchain +# +# Example: arm-linux-gnueabi-{gcc,binutils,$etc} +# This toolchain has GNU/Linux as OS, so it's not a bare-metal one. It's for armel, which +# stands for "ARM EABI little-endian", but the gnueabi part means it uses the GNU EABI. You can find +# that info in Debian's gcc-arm-linux-gnueabi and a couple of FLOSS and programmers community forums. + # Toolchain triplet: <_arch>--<_os_target> # is generally optional and uneeded _target=x86_64-pc-linux-gnu -- cgit v1.2.3