mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-27 21:14:08 +00:00
Fix vendor directory for RPI crosscompile
This commit is contained in:
parent
3c189301b4
commit
7f8d5cf28f
@ -21,8 +21,10 @@ fi
|
||||
|
||||
ARCH=$(uname -m)
|
||||
DEB_ARCH=$ARCH
|
||||
VENDOR=$ARCH
|
||||
if [[ -n $CROSSCOMPILE ]]; then
|
||||
FRIENDLY_OS_NAME="linux_${CROSSCOMPILE}"
|
||||
VENDOR=${CROSSCOMPILE}
|
||||
ARCH="armhf"
|
||||
DEB_ARCH="armhf"
|
||||
elif [[ $ARCH == "x86_64" ]]; then
|
||||
@ -54,7 +56,7 @@ if [[ $CROSSCOMPILE == "rpi" ]]; then
|
||||
fi
|
||||
|
||||
rm vendor
|
||||
ln -s ../vendor-$ARCH/ ./vendor
|
||||
ln -s ../vendor-$VENDOR/ ./vendor
|
||||
printf "\nsetup symlink:\n"
|
||||
ls -ald vendor
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user