Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwonarm.git;a=commitdiff;h=8a928194d063a9fb0c0fc5130c22ac58496ecfd5

commit 8a928194d063a9fb0c0fc5130c22ac58496ecfd5
Author: Elentir <elen...@frugalware.org>
Date:   Mon Feb 14 22:24:56 2011 +0000

util.sh: add arm to Farchs and fix Fbuildchost on arm

diff --git a/source/include/util.sh b/source/include/util.sh
index 73ef930..edec799 100644
--- a/source/include/util.sh
+++ b/source/include/util.sh
@@ -94,8 +94,12 @@ Fsysconfdir="/etc"
Flocalstatedir="/var"
Fmandir="/usr/share/man"
Fmenudir="/usr/share/applications"
-Farchs=('i686' 'x86_64' 'ppc')
-Fbuildchost="`arch`-frugalware-linux"
+Farchs=('i686' 'x86_64' 'ppc' 'arm')
+if [[ "`arch`" == arm* ]]; then
+       Fbuildchost="arm-frugalware-linux-gnueabi"
+else
+       Fbuildchost="`arch`-frugalware-linux"
+fi
Fconfopts=""
## Move to makepkg.conf for Kalgan+1
export LDFLAGS="-Wl,--hash-style=both"
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to