]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
Revert "Build paravirt and paravirt-debug kernels"
authorMaxim Uvarov <maxim.uvarov@oracle.com>
Tue, 15 Nov 2011 22:19:23 +0000 (14:19 -0800)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Tue, 15 Nov 2011 22:19:23 +0000 (14:19 -0800)
This reverts commit 0b84da09ad1cfa159f69159b147886ea8c19caf2.

uek-rpm/ol5/Makefile.config
uek-rpm/ol5/config-generic-paravirt [deleted file]
uek-rpm/ol5/kernel-uek.spec
uek-rpm/ol6/Makefile.config
uek-rpm/ol6/config-generic-paravirt [deleted file]
uek-rpm/ol6/kernel-uek.spec

index 62b4de326adf2ed56fe239d32ec9bb3b436d6655..a8a9b8c9376455affc3157c2e8dbff8d0bf0e5b6 100644 (file)
@@ -7,11 +7,13 @@ CFG           = kernel-$(VERSION)
 CONFIGFILES    = \
        $(CFG)-i686.config $(CFG)-i686-debug.config \
        $(CFG)-x86_64.config $(CFG)-x86_64-debug.config \
-       $(CFG)-i686-paravirt.config $(CFG)-x86_64-paravirt.config \
-       $(CFG)-i686-paravirt_debug.config $(CFG)-x86_64-paravirt_debug.config 
-       
+       $(CFG)-s390x.config $(CFG)-arm.config \
+       $(CFG)-ppc.config $(CFG)-ppc-smp.config \
+       $(CFG)-sparc64.config  \
+       $(CFG)-ppc64.config $(CFG)-ppc64-debug.config \
+       $(CFG)-ia64.config
 
-PLATFORMS      = x86 x86_64 
+PLATFORMS      = x86 x86_64 powerpc powerpc32 powerpc64 s390x ia64 sparc64
 TEMPFILES      = $(addprefix temp-, $(addsuffix -generic, $(PLATFORMS)))
 
 configs: $(CONFIGFILES)
@@ -41,6 +43,24 @@ temp-x86_64-generic: config-x86_64-generic temp-generic
 temp-x86_64-debug-generic: config-x86_64-generic temp-debug-generic
        perl merge.pl $^  > $@
 
+temp-sparc64-generic: config-sparc64-generic temp-generic
+       perl merge.pl $^  > $@
+
+temp-powerpc-generic: config-powerpc-generic temp-generic
+       perl merge.pl $^  > $@
+
+temp-powerpc-debug-generic: config-powerpc-generic temp-debug-generic
+       perl merge.pl $^  > $@
+
+temp-powerpc32-generic: config-powerpc32-generic temp-powerpc-generic
+       perl merge.pl $^  > $@
+
+temp-s390-generic: config-s390x temp-generic
+       perl merge.pl $^ > $@
+
+temp-ia64-generic: config-ia64-generic temp-generic
+       perl merge.pl $^ > $@
+
 kernel-$(VERSION)-i686.config: config-i686 temp-x86-generic
        perl merge.pl $^ i386 > $@
 
@@ -53,15 +73,26 @@ kernel-$(VERSION)-x86_64.config: /dev/null temp-x86_64-generic
 kernel-$(VERSION)-x86_64-debug.config: /dev/null temp-x86_64-debug-generic
        perl merge.pl $^ x86_64 > $@
 
-kernel-$(VERSION)-i686-paravirt.config: config-generic-paravirt temp-x86-generic 
-       perl merge.pl $^ i386 > $@
+kernel-$(VERSION)-sparc64.config: /dev/null temp-sparc64-generic
+       perl merge.pl $^ sparc64 > $@
 
-kernel-$(VERSION)-i686-paravirt_debug.config: kernel-$(VERSION)-i686-paravirt.config temp-debug-generic 
-       perl merge.pl $^ i386 > $@
+kernel-$(VERSION)-ppc64.config: config-powerpc64 temp-powerpc-generic
+       perl merge.pl $^ powerpc > $@
 
-kernel-$(VERSION)-x86_64-paravirt.config: config-generic-paravirt temp-x86_64-generic
-       perl merge.pl $^ x86_64 > $@
+kernel-$(VERSION)-ppc64-debug.config: config-powerpc64 temp-powerpc-debug-generic
+       perl merge.pl $^ powerpc > $@
 
-kernel-$(VERSION)-x86_64-paravirt_debug.config: kernel-$(VERSION)-x86_64-paravirt.config temp-debug-generic 
-       perl merge.pl $^ x86_64 > $@
+kernel-$(VERSION)-s390x.config: config-s390x temp-s390-generic
+       perl merge.pl $^ s390 > $@
+
+kernel-$(VERSION)-arm.config: config-arm temp-generic
+       perl merge.pl $^ arm > $@
+
+kernel-$(VERSION)-ppc.config: /dev/null temp-powerpc32-generic
+       perl merge.pl $^ powerpc > $@
+
+kernel-$(VERSION)-ppc-smp.config: config-powerpc32-smp temp-powerpc32-generic
+       perl merge.pl $^ powerpc > $@
 
+kernel-$(VERSION)-ia64.config: /dev/null temp-ia64-generic
+       perl merge.pl $^ ia64 > $@
diff --git a/uek-rpm/ol5/config-generic-paravirt b/uek-rpm/ol5/config-generic-paravirt
deleted file mode 100644 (file)
index 14b4c8d..0000000
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_PARAVIRT_SPINLOCKS=y
index 18b2662ecb40eef930bb4b6c4c3d56aacbee39f2..2e6196695e69baa976f0f016f148a791ebb584db 100644 (file)
@@ -91,8 +91,6 @@ Summary: The Linux kernel
 %define with_kdump     0
 # kernel-debug
 %define with_debug     1
-%define with_paravirt  1
-%define with_paravirt_debug  1
 # kernel-doc
 %define with_doc       1
 # kernel-headers
@@ -386,8 +384,6 @@ Summary: The Linux kernel
 %define with_up 0
 %define with_smp 0
 %define with_pae 0
-%define with_paravirt 0
-%define with_paravirt_debug 0
 %define with_kdump 0
 %define with_debuginfo 0
 %define _enable_debug_packages 0
@@ -529,7 +525,6 @@ Source23: config-generic
 Source24: config-rhel-generic
 Source25: Module.kabi_i686
 Source28: Module.kabi_x86_64
-Source29: config-generic-paravirt
 
 Source30: config-x86-generic
 ##Source31: config-i586
@@ -779,18 +774,6 @@ This package includes a kdump version of the Linux kernel. It is
 required only on machines which will use the kexec-based kernel crash dump
 mechanism.
 
-%define variant_summary Paravitrualized kernel
-%kernel_variant_package paravirt
-%description paravirt
-This package includes a paravirt version of the Linux kernel.
-CONFIG_PARAVIRT_SPINLOCKS=y
-
-%define variant_summary Paravitrualized debug kernel
-%kernel_variant_package paravirt_debug
-%description paravirt_debug
-This package includes a paravirt version of the Linux kernel with debug info.
-CONFIG_PARAVIRT_SPINLOCKS=y
-
 
 %prep
 # do a few sanity-checks for --with *only builds
@@ -1307,14 +1290,6 @@ mkdir -p $RPM_BUILD_ROOT/boot
 
 cd linux-%{kversion}.%{_target_cpu}
 
-%if %{with_paravirt}
-BuildKernel %make_target %kernel_image paravirt 
-%endif
-
-%if %{with_paravirt_debug}
-BuildKernel %make_target %kernel_image paravirt_debug 
-%endif
-
 %if %{with_debug}
 %if %{with_up}
 BuildKernel %make_target %kernel_image debug
@@ -1590,15 +1565,6 @@ fi\
 %kernel_variant_preun PAEdebug
 %kernel_variant_pre PAEdebug
 
-%kernel_variant_post -v paravirt -r (kernel-smp|kernel-xen|kernel-uek)
-%kernel_variant_preun paravirt
-%kernel_variant_pre paravirt
-
-%kernel_variant_post -v paravirt_debug -r (kernel-smp|kernel-xen|kernel-uek)
-%kernel_variant_preun paravirt_debug
-%kernel_variant_pre paravirt_debug
-
-
 if [ -x /sbin/ldconfig ]
 then
     /sbin/ldconfig -X || exit $?
@@ -1688,8 +1654,6 @@ fi
 %{nil}
 
 
-%kernel_variant_files %{with_paravirt} paravirt
-%kernel_variant_files %{with_paravirt_debug} paravirt_debug
 %kernel_variant_files %{with_up}
 %kernel_variant_files %{with_smp} smp
 %if %{with_up}
index 62b4de326adf2ed56fe239d32ec9bb3b436d6655..a8a9b8c9376455affc3157c2e8dbff8d0bf0e5b6 100644 (file)
@@ -7,11 +7,13 @@ CFG           = kernel-$(VERSION)
 CONFIGFILES    = \
        $(CFG)-i686.config $(CFG)-i686-debug.config \
        $(CFG)-x86_64.config $(CFG)-x86_64-debug.config \
-       $(CFG)-i686-paravirt.config $(CFG)-x86_64-paravirt.config \
-       $(CFG)-i686-paravirt_debug.config $(CFG)-x86_64-paravirt_debug.config 
-       
+       $(CFG)-s390x.config $(CFG)-arm.config \
+       $(CFG)-ppc.config $(CFG)-ppc-smp.config \
+       $(CFG)-sparc64.config  \
+       $(CFG)-ppc64.config $(CFG)-ppc64-debug.config \
+       $(CFG)-ia64.config
 
-PLATFORMS      = x86 x86_64 
+PLATFORMS      = x86 x86_64 powerpc powerpc32 powerpc64 s390x ia64 sparc64
 TEMPFILES      = $(addprefix temp-, $(addsuffix -generic, $(PLATFORMS)))
 
 configs: $(CONFIGFILES)
@@ -41,6 +43,24 @@ temp-x86_64-generic: config-x86_64-generic temp-generic
 temp-x86_64-debug-generic: config-x86_64-generic temp-debug-generic
        perl merge.pl $^  > $@
 
+temp-sparc64-generic: config-sparc64-generic temp-generic
+       perl merge.pl $^  > $@
+
+temp-powerpc-generic: config-powerpc-generic temp-generic
+       perl merge.pl $^  > $@
+
+temp-powerpc-debug-generic: config-powerpc-generic temp-debug-generic
+       perl merge.pl $^  > $@
+
+temp-powerpc32-generic: config-powerpc32-generic temp-powerpc-generic
+       perl merge.pl $^  > $@
+
+temp-s390-generic: config-s390x temp-generic
+       perl merge.pl $^ > $@
+
+temp-ia64-generic: config-ia64-generic temp-generic
+       perl merge.pl $^ > $@
+
 kernel-$(VERSION)-i686.config: config-i686 temp-x86-generic
        perl merge.pl $^ i386 > $@
 
@@ -53,15 +73,26 @@ kernel-$(VERSION)-x86_64.config: /dev/null temp-x86_64-generic
 kernel-$(VERSION)-x86_64-debug.config: /dev/null temp-x86_64-debug-generic
        perl merge.pl $^ x86_64 > $@
 
-kernel-$(VERSION)-i686-paravirt.config: config-generic-paravirt temp-x86-generic 
-       perl merge.pl $^ i386 > $@
+kernel-$(VERSION)-sparc64.config: /dev/null temp-sparc64-generic
+       perl merge.pl $^ sparc64 > $@
 
-kernel-$(VERSION)-i686-paravirt_debug.config: kernel-$(VERSION)-i686-paravirt.config temp-debug-generic 
-       perl merge.pl $^ i386 > $@
+kernel-$(VERSION)-ppc64.config: config-powerpc64 temp-powerpc-generic
+       perl merge.pl $^ powerpc > $@
 
-kernel-$(VERSION)-x86_64-paravirt.config: config-generic-paravirt temp-x86_64-generic
-       perl merge.pl $^ x86_64 > $@
+kernel-$(VERSION)-ppc64-debug.config: config-powerpc64 temp-powerpc-debug-generic
+       perl merge.pl $^ powerpc > $@
 
-kernel-$(VERSION)-x86_64-paravirt_debug.config: kernel-$(VERSION)-x86_64-paravirt.config temp-debug-generic 
-       perl merge.pl $^ x86_64 > $@
+kernel-$(VERSION)-s390x.config: config-s390x temp-s390-generic
+       perl merge.pl $^ s390 > $@
+
+kernel-$(VERSION)-arm.config: config-arm temp-generic
+       perl merge.pl $^ arm > $@
+
+kernel-$(VERSION)-ppc.config: /dev/null temp-powerpc32-generic
+       perl merge.pl $^ powerpc > $@
+
+kernel-$(VERSION)-ppc-smp.config: config-powerpc32-smp temp-powerpc32-generic
+       perl merge.pl $^ powerpc > $@
 
+kernel-$(VERSION)-ia64.config: /dev/null temp-ia64-generic
+       perl merge.pl $^ ia64 > $@
diff --git a/uek-rpm/ol6/config-generic-paravirt b/uek-rpm/ol6/config-generic-paravirt
deleted file mode 100644 (file)
index 14b4c8d..0000000
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_PARAVIRT_SPINLOCKS=y
index b985805be8da82aca0e36c7f747e7fb2cfc456cf..bb1c154e6ec76ce39fc367079b839d8017a6f826 100644 (file)
@@ -98,8 +98,6 @@ Summary: The Linux kernel
 %define with_kdump     0
 # kernel-debug
 %define with_debug     1
-%define with_paravirt  1
-%define with_paravirt_debug  1
 # kernel-doc
 %define with_doc       1
 # kernel-headers
@@ -388,8 +386,6 @@ Summary: The Linux kernel
 %define with_up 0
 %define with_smp 0
 %define with_pae 0
-%define with_paravirt 0
-%define with_paravirt_debug 0
 %define with_kdump 0
 %define with_debuginfo 0
 %define _enable_debug_packages 0
@@ -536,7 +532,6 @@ Source23: config-generic
 Source24: config-rhel-generic
 Source25: Module.kabi_i686
 Source26: Module.kabi_x86_64
-Source27: config-generic-paravirt
 
 Source30: config-x86-generic
 ##Source31: config-i586
@@ -788,18 +783,6 @@ This package includes a kdump version of the Linux kernel. It is
 required only on machines which will use the kexec-based kernel crash dump
 mechanism.
 
-%define variant_summary Paravitrualized kernel
-%kernel_variant_package paravirt
-%description paravirt
-This package includes a paravirt version of the Linux kernel.
-CONFIG_PARAVIRT_SPINLOCKS=y
-
-%define variant_summary Paravitrualized debug kernel
-%kernel_variant_package paravirt_debug
-%description paravirt_debug
-This package includes a paravirt version of the Linux kernel with debug info.
-CONFIG_PARAVIRT_SPINLOCKS=y
-
 
 %prep
 # do a few sanity-checks for --with *only builds
@@ -1319,14 +1302,6 @@ mkdir -p $RPM_BUILD_ROOT/boot
 
 cd linux-%{kversion}.%{_target_cpu}
 
-%if %{with_paravirt}
-BuildKernel %make_target %kernel_image paravirt 
-%endif
-
-%if %{with_paravirt_debug}
-BuildKernel %make_target %kernel_image paravirt_debug 
-%endif
-
 %if %{with_debug}
 %if %{with_up}
 BuildKernel %make_target %kernel_image debug
@@ -1606,15 +1581,6 @@ fi\
 %kernel_variant_preun PAEdebug
 %kernel_variant_pre PAEdebug
 
-%kernel_variant_post -v paravirt -r (kernel-smp|kernel-xen|kernel-uek)
-%kernel_variant_preun paravirt
-%kernel_variant_pre paravirt
-
-%kernel_variant_post -v paravirt_debug -r (kernel-smp|kernel-xen|kernel-uek)
-%kernel_variant_preun paravirt_debug
-%kernel_variant_pre paravirt_debug
-
-
 if [ -x /sbin/ldconfig ]
 then
     /sbin/ldconfig -X || exit $?
@@ -1704,8 +1670,6 @@ fi
 %{nil}
 
 
-%kernel_variant_files %{with_paravirt} paravirt
-%kernel_variant_files %{with_paravirt_debug} paravirt_debug
 %kernel_variant_files %{with_up}
 %kernel_variant_files %{with_smp} smp
 %if %{with_up}