Mailinglist Archive: opensuse-buildservice (260 mails)

< Previous Next >
[opensuse-buildservice] [patch] build: sparc support
  • From: Jan Engelhardt <jengelh@xxxxxxxxxx>
  • Date: Fri, 11 Dec 2009 23:02:18 +0100 (CET)
  • Message-id: <alpine.LSU.2.01.0912112257260.6798@xxxxxxxxxxxxxxx>


Please consider for merge.

The following changes since commit 318c860c5c178c72988ccae149f4c7e6c2f557bf:
Michael Schroeder (1):
Merge branch 'master' of gitorious.org:opensuse/build

are available in the git repository at:

git://dev.medozas.de/suse-build master

Jan Engelhardt (1):
SPARC architecture support

Build.pm | 1 +
baselibs_global.conf | 6 ++++++
common_functions | 2 ++
3 files changed, 9 insertions(+), 0 deletions(-)



----------8<----------
parent 318c860c5c178c72988ccae149f4c7e6c2f557bf ()
commit 6dedaacf1dd51ed6512359814fbe7d7c5af86cff
Author: Jan Engelhardt <jengelh@xxxxxxxxxx>
Date: Fri Dec 11 22:57:09 2009 +0100

SPARC architecture support
---
Build.pm | 1 +
baselibs_global.conf | 6 ++++++
common_functions | 2 ++
3 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/Build.pm b/Build.pm
index 99ce6bb..f309448 100644
--- a/Build.pm
+++ b/Build.pm
@@ -32,6 +32,7 @@ my $std_macros = q{
%define arm armv4l armv4b armv5l armv5b armv5el armv5eb armv5tel armv5teb
armv6el armv6eb armv7el armv7eb
%define arml armv4l armv5l armv5tel armv5el armv6el armv7el
%define armb armv4b armv5b armv5teb armv5eb armv6eb armv7eb
+%define sparc sparc sparcv8 sparcv9 sparcv9v sparc64 sparc64v
};
my $extra_macros = '';

diff --git a/baselibs_global.conf b/baselibs_global.conf
index 76fe238..96191bf 100644
--- a/baselibs_global.conf
+++ b/baselibs_global.conf
@@ -3,6 +3,12 @@ arch i686 targets x86_64:32bit ia64:x86
arch s390 targets s390x:32bit
arch ppc targets ppc64:32bit
arch ppc64 targets ppc:64bit
+arch sparc targets sparc64:32bit
+arch sparcv8 targets sparc64:32bit
+arch sparcv9 targets sparc64:32bit
+arch sparcv9v targets sparc64v:32bit
+arch sparc64 targets sparcv9:64bit
+arch sparc64v targets sparcv9v:64bit

configdir /usr/lib/baselibs-<targettype>/bin

diff --git a/common_functions b/common_functions
index 8a67511..f27c1be 100644
--- a/common_functions
+++ b/common_functions
@@ -14,6 +14,8 @@ set_build_arch()
i586) BUILD_ARCH="i586:i486:i386" ;;
i486) BUILD_ARCH="i486:i386" ;;
x86_64) BUILD_ARCH="x86_64:i686:i586:i486:i386" ;;
+ (sparc64*) BUILD_ARCH="sparc64v:sparc64:sparcv9v:sparcv9:sparcv8:sparc";;
+ (sparc*) BUILD_ARCH="sparcv9v:sparcv9:sparcv8:sparc";;
esac
if test "$BUILD_ARCH" != "${BUILD_ARCH#i686}" ; then
cpuflags=`grep ^flags /proc/cpuinfo`
--
# Created with git-export-patch
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups