]> git.pld-linux.org Git - packages/kernel.git/commitdiff
- added target_arch_dir for sparc(64), both sparcs need some love, they won't
authorsparky <sparky@pld-linux.org>
Tue, 31 Mar 2009 20:28:12 +0000 (20:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  work in current state

Changed files:
    kernel.spec -> 1.658

kernel.spec

index 17d580265f889aab02422dfbc41b1dc49b9a577e..31a07a6e521062d70aefcff4cceb1bd7b544f628 100644 (file)
@@ -166,10 +166,9 @@ Source10:  kernel.make
 Source20:      kernel-multiarch.config
 Source21:      kernel-x86.config
 Source22:      kernel-sparc.config
-Source23:      kernel-sparc64.config
-Source24:      kernel-alpha.config
-Source25:      kernel-powerpc.config
-Source26:      kernel-ia64.config
+Source23:      kernel-alpha.config
+Source24:      kernel-powerpc.config
+Source25:      kernel-ia64.config
 
 Source40:      kernel-netfilter.config
 Source41:      kernel-patches.config
@@ -418,7 +417,10 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %ifarch ppc ppc64
 %define                target_arch_dir         powerpc
 %endif
-%ifnarch %{ix86} %{x8664} ppc ppc64
+%ifarch sparc sparc64
+%define                target_arch_dir         sparc
+%endif
+%ifnarch %{ix86} %{x8664} ppc ppc64 sparc sparc64
 %define                target_arch_dir         %{_target_base_arch}
 %endif
 
@@ -460,7 +462,7 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
        %define DepMod /sbin/depmod
        %endif
 
-       %if "%{_target_base_arch}" == ppc || "%{_target_base_arch}" == "ppc64"
+       %if "%{_target_base_arch}" == "ppc" || "%{_target_base_arch}" == "ppc64"
        %define CrossOpts ARCH=powerpc CROSS_COMPILE=%{_target_cpu}-pld-linux-
        %endif
 %else
This page took 0.062779 seconds and 4 git commands to generate.