blob: c53e1b2a79bb4bfab88e1ac5117f00f86ed829bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#! /usr/bin/make -f
gcc_base_version = $$(tr '[:upper:]' '[:lower:]' <../substvars | \
sed 's/^gcc-base-version: //')
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
|