From 09ff119090c179d5a00ea0ed456090c233859c27 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Mon, 22 Apr 2013 12:59:05 +0000 Subject: [PATCH] - fix config generation --- kernel-vanilla.spec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/kernel-vanilla.spec b/kernel-vanilla.spec index 5214d3f..1d3e396 100644 --- a/kernel-vanilla.spec +++ b/kernel-vanilla.spec @@ -383,12 +383,11 @@ EOF cd %{objdir} install -d arch/%{target_arch_dir} %ifarch i686 -%define kernel_config kernel-%{alt_kernel}-x86.config -%else -%define kernel_config kernel-%{alt_kernel}-%{_target_base_arch}.config + cat $RPM_SOURCE_DIR/%{SOURCE10} > %{defconfig} +%endif +%ifarch x86_64 + cat $RPM_SOURCE_DIR/%{SOURCE11} > %{defconfig} %endif -echo "Building config file using %{kernel_config}..." -cat $RPM_SOURCE_DIR/%{kernel_config} > %{defconfig} ln -sf %{defconfig} .config cd - -- 2.46.0