scripts: add abi-link.sh script

This commit is contained in:
Geert Custers 2020-08-28 12:19:07 +02:00
parent e773a516ad
commit 1d47e10cc6

12
scripts/abi-link.sh Executable file
View file

@ -0,0 +1,12 @@
#!/bin/bash
# USAGE: put files and ports in the arrays below and export the abi you want to use
declare -a files=()
declare -a ports=()
for file in "${files[@]}"; do
for port in "${ports[@]}"; do
ln -rs abis/$abi/$file sysdeps/$port/include/abi-bits/$file
done
done