blob: 110c6ee3f86dc3b04f30c78345b12a8a8086afd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#! /usr/bin/make -f
gcc_base_version = $$(sed 's/^GCC-Base-Version: //i' ../substvars)
build:
install:
set -e; \
for target in $$(cat ../targets); do \
for exe in cpp gcc g++; do \
dir="$${exe}-$${target}.data/usr/bin"; \
mkdir -p "$${dir}"; \
ln -sf "$${target}-$${exe}-$(gcc_base_version)" \
"$${dir}/$${target}-$${exe}"; \
done; \
done
|