summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-05-30 17:49:39 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-05-30 17:49:39 (EDT)
commit105b58bd852369cd085781b9573a2f82064c27d8 (patch)
tree0b40bac094528d4b0abb027142555d89d8bf0835 /build
parentefa38c27efcdf652e61b1f5b9cd2a440177d05a2 (diff)
Drop use of opkhelper
Diffstat (limited to 'build')
-rwxr-xr-xbuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/build b/build
index 7b1a8d6..8aaeb16 100755
--- a/build
+++ b/build
@@ -3,10 +3,12 @@
build:
install:
- mkdir -p dest/usr/bin
- set -e; for target in $$(cat ../targets); do \
- ln -sf "$${target}-cpp-4.7" "dest/usr/bin/$${target}-cpp"; \
- ln -sf "$${target}-gcc-4.7" "dest/usr/bin/$${target}-gcc"; \
- ln -sf "$${target}-g++-4.7" "dest/usr/bin/$${target}-g++"; \
+ 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}-4.7" \
+ "$${dir}/$${target}-$${exe}"; \
+ done; \
done
- oh-installfiles