Author: kwizart
Update of /cvs/free/rpms/buildsys-build-rpmfusion/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv22616/devel
Modified Files:
buildsys-build-rpmfusion-list-kernels.sh
Log Message:
Bump for secondary-arches support
Index: buildsys-build-rpmfusion-list-kernels.sh
===================================================================
RCS file:
/cvs/free/rpms/buildsys-build-rpmfusion/devel/buildsys-build-rpmfusion-list-kernels.sh,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- buildsys-build-rpmfusion-list-kernels.sh 22 Nov 2009 12:25:44 -0000 1.8
+++ buildsys-build-rpmfusion-list-kernels.sh 6 Sep 2012 22:28:27 -0000 1.9
@@ -3,6 +3,7 @@
# buildsys-build-list-kernels.sh - Helper script for building kernel module RPMs for
Fedora
#
# Copyright (c) 2007 Thorsten Leemhuis <fedora(a)leemhuis.info>
+# 2012 Nicolas Chauvet <kwizart(a)gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
@@ -26,10 +27,10 @@
shopt -s extglob
-myver="0.1.0"
+myver="0.2.0"
repo=rpmfusion
myprog="buildsys-build-${repo}-kerneldevpkgs"
-supported_targetarchs="i586 i686 x86_64 ppc ppc64"
+supported_targetarchs="i686 x86_64 ppc ppc64 armv5tel armv7l armv7hl s390x"
if [[ -e ./buildsys-build-${repo}-kerneldevpkgs-current ]]; then
prefix=./buildsys-build-${repo}-
else
@@ -69,6 +70,39 @@
bb_list_kernels_default ${1}
}
+bb_list_kernels_armv5tel()
+{
+ bb_list_kernels_default ${1}
+ echo ${1}kirkwood
+}
+
+bb_list_kernels_armv7l()
+{
+ echo ${1}highbank
+ echo ${1}imx
+ echo ${1}omap
+ echo ${1}tegra
+}
+
+bb_list_kernels_armv7hl()
+{
+ bb_list_kernels_default ${1}
+ echo ${1}highbank
+ echo ${1}imx
+ echo ${1}omap
+ echo ${1}tegra
+}
+
+bb_list_kernels_s390x()
+{
+ bb_list_kernels_default ${1}
+}
+
+bb_list_kernels_sparc64()
+{
+ bb_list_kernels_default ${1}
+}
+
print_kernels ()
{