mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-28 15:16:43 +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)
|
ARCH=$(uname -m)
|
||||||
DEB_ARCH=$ARCH
|
DEB_ARCH=$ARCH
|
||||||
|
VENDOR=$ARCH
|
||||||
if [[ -n $CROSSCOMPILE ]]; then
|
if [[ -n $CROSSCOMPILE ]]; then
|
||||||
FRIENDLY_OS_NAME="linux_${CROSSCOMPILE}"
|
FRIENDLY_OS_NAME="linux_${CROSSCOMPILE}"
|
||||||
|
VENDOR=${CROSSCOMPILE}
|
||||||
ARCH="armhf"
|
ARCH="armhf"
|
||||||
DEB_ARCH="armhf"
|
DEB_ARCH="armhf"
|
||||||
elif [[ $ARCH == "x86_64" ]]; then
|
elif [[ $ARCH == "x86_64" ]]; then
|
||||||
@ -54,7 +56,7 @@ if [[ $CROSSCOMPILE == "rpi" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
rm vendor
|
rm vendor
|
||||||
ln -s ../vendor-$ARCH/ ./vendor
|
ln -s ../vendor-$VENDOR/ ./vendor
|
||||||
printf "\nsetup symlink:\n"
|
printf "\nsetup symlink:\n"
|
||||||
ls -ald vendor
|
ls -ald vendor
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user