aboutsummaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2017-10-02 07:22:52 -0400
committerAndrew Robbins <contact@andrewrobbins.info>2017-10-02 07:22:52 -0400
commitff4ee014ce526a16631ac0913053cade161e7b0a (patch)
tree0d5a3f62ba211aea4bef08383b459475f67ad084 /projects
parente480b578c9bd1e8791ddc759b7f0baf24d7b8e37 (diff)
downloadlibrebootfr-ff4ee014ce526a16631ac0913053cade161e7b0a.tar.gz
librebootfr-ff4ee014ce526a16631ac0913053cade161e7b0a.zip
Add i386 to CrossGCC prefix action
The prefix action is a quality-of-life addition which helps a user locate the relevant compiler binaries for a given target once built. This change simply extends it for the i386 target.
Diffstat (limited to 'projects')
-rwxr-xr-xprojects/crossgcc/crossgcc5
1 files changed, 4 insertions, 1 deletions
diff --git a/projects/crossgcc/crossgcc b/projects/crossgcc/crossgcc
index cdd3f513..f0d7a5d1 100755
--- a/projects/crossgcc/crossgcc
+++ b/projects/crossgcc/crossgcc
@@ -123,7 +123,10 @@ prefix() {
case $arch in
"arm")
- printf '%s\n' "$build_path/bin/arm-eabi-"
+ printf '\n%s\n' "$build_path/bin/arm-eabi-"
+ ;;
+ "i386")
+ printf '\n%s\n' "$build_path/bin/i386-elf-"
;;
esac
}