summaryrefslogtreecommitdiff
path: root/functions/architecture.sh
diff options
context:
space:
mode:
authorCody A.W. Somerville <cody.somerville@canonical.com>2009-04-17 10:23:38 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:44 +0100
commit4afc571314e86867311472f5646cae6a38226a4c (patch)
treea39c8476b8ea00d77da439001d376da175207ef0 /functions/architecture.sh
parent69d278fdb8aa4720ccb1ff7b2bea8e48dec1490c (diff)
downloadvyos-live-build-4afc571314e86867311472f5646cae6a38226a4c.tar.gz
vyos-live-build-4afc571314e86867311472f5646cae6a38226a4c.zip
Adding lpia support.
Diffstat (limited to 'functions/architecture.sh')
-rwxr-xr-xfunctions/architecture.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/functions/architecture.sh b/functions/architecture.sh
index cd8e073a8..278ec6a6f 100755
--- a/functions/architecture.sh
+++ b/functions/architecture.sh
@@ -38,8 +38,8 @@ Check_crossarchitecture ()
fi
case "${HOST}" in
- amd64|i386|x86_64)
- CROSS="amd64 i386"
+ amd64|i386|lpia|x86_64)
+ CROSS="amd64 i386 lpia"
;;
powerpc|ppc64)
@@ -75,6 +75,12 @@ Check_multiarchitecture ()
DESTDIR_INSTALL="${DESTDIR_INSTALL}.386"
;;
+ lpia)
+ DESTDIR="${DESTDIR}.lpi"
+ DESTDIR_LIVE="${DESTDIR_LIVE}.lpi"
+ DESTDIR_INSTALL="${DESTDIR_INSTALL}.lpi"
+ ;;
+
powerpc)
DESTDIR="${DESTDIR}.ppc"
DESTDIR_LIVE="${DESTDIR_LIVE}.ppc"