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-newlib/PKGBUILD | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'cross/cross-newlib') 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