aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/scripts/abi-link.sh
blob: fdd0a5cf038746731fe5518c255c05532c29d883 (plain)
1
2
3
4
5
6
7
8
9
10
11
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 -rsiv abis/$abi/$file sysdeps/$port/include/abi-bits/$file
	done
done