mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
arm-none-eabi-gcc: put binaries in non-suffixed binDir
It's simpler to use this way
This commit is contained in:
@@ -7,7 +7,7 @@ HOMEPAGE="http://gcc.gnu.org"
|
||||
SOURCE_URI="http://ftpmirror.gnu.org/gcc/gcc-6.4.0/gcc-6.4.0.tar.xz"
|
||||
CHECKSUM_SHA256="850bf21eafdfe5cd5f6827148184c08c4a0852a37ccf36ce69855334d2c914d4"
|
||||
SOURCE_DIR="gcc-$portVersion"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
LICENSE="
|
||||
GNU GPL v2
|
||||
GNU LGPL v2
|
||||
@@ -22,15 +22,15 @@ targetArch="arm-none-eabi"
|
||||
targetU="arm_none_eabi"
|
||||
|
||||
PROVIDES="
|
||||
${targetU}_gcc$secondaryArchSuffix = $portVersion compat >= 4
|
||||
cmd:${targetU}_c++$secondaryArchSuffix = $portVersion compat >= 4
|
||||
cmd:${targetU}_cc$secondaryArchSuffix = $portVersion compat >= 4
|
||||
cmd:${targetU}_cpp$secondaryArchSuffix = $portVersion compat >= 4
|
||||
cmd:${targetU}_g++$secondaryArchSuffix = $portVersion compat >= 4
|
||||
cmd:${targetU}_gcc$secondaryArchSuffix = $portVersion compat >= 4
|
||||
cmd:${targetU}_gcc_4.8.2$secondaryArchSuffix = $portVersion compat >= 4
|
||||
cmd:${targetU}_gcov$secondaryArchSuffix = $portVersion compat >= 4
|
||||
lib:${targetU}_libstdc++$secondaryArchSuffix = $portVersion compat >= 4
|
||||
${targetU}_gcc$secondaryArchSuffix = $portVersion compat >= 6
|
||||
cmd:${targetU}_c++ = $portVersion compat >= 6
|
||||
cmd:${targetU}_cc = $portVersion compat >= 6
|
||||
cmd:${targetU}_cpp = $portVersion compat >= 6
|
||||
cmd:${targetU}_g++ = $portVersion compat >= 6
|
||||
cmd:${targetU}_gcc = $portVersion compat >= 6
|
||||
cmd:${targetU}_gcc_6.4.0 = $portVersion compat >= 6
|
||||
cmd:${targetU}_gcov = $portVersion compat >= 6
|
||||
lib:${targetU}_libstdc++$secondaryArchSuffix = $portVersion compat >= 6
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
@@ -109,9 +109,9 @@ INSTALL()
|
||||
echo "Creating required symlinks"
|
||||
|
||||
# make all tools available via default paths
|
||||
mkdir -p $binDir
|
||||
mkdir -p $prefix/bin
|
||||
for f in c++ cc cpp g++ gcc gcov; do
|
||||
symlinkRelative -sfn $installDir/bin/$targetArch-$f $binDir
|
||||
symlinkRelative -sfn $installDir/bin/$targetArch-$f $prefix/bin
|
||||
done
|
||||
|
||||
### Cleanup ###############################################
|
||||
|
||||
Reference in New Issue
Block a user