mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
avr binutils: point symlinks the proper way.
This commit is contained in:
@@ -70,7 +70,7 @@ SOURCE_DIR="buildtools-$srcGitRev/binutils"
|
||||
BUILD_PACKAGE_ACTIVATION_PHASE=INSTALL
|
||||
|
||||
sourceDir=$(pwd)
|
||||
relativeInstallDir="develop/tools$secondaryArchSubDir"
|
||||
relativeInstallDir="develop/tools/avr"
|
||||
installDir="$prefix/$relativeInstallDir"
|
||||
objectsDir=$(pwd)/../${portVersionedName}-obj
|
||||
|
||||
@@ -108,6 +108,16 @@ INSTALL()
|
||||
|
||||
strip --strip-debug $binDir/*
|
||||
|
||||
### Symlinks ##############################################
|
||||
|
||||
echo "Creating required symlinks"
|
||||
|
||||
# There are copies of a subset of the commands below installDir. We
|
||||
# overwrite those with symlinks to the ones in binDir.
|
||||
for file in $installDir/avr/bin/*; do
|
||||
symlinkRelative -sfn $binDir/avr-$(basename $file) $file
|
||||
done
|
||||
|
||||
### Cleanup #################################################
|
||||
|
||||
echo "Cleanup"
|
||||
|
||||
Reference in New Issue
Block a user