From: Marcin Krol Date: Mon, 22 Apr 2013 12:59:05 +0000 (+0000) Subject: - fix config generation X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=09ff119090c179d5a00ea0ed456090c233859c27;p=packages%2Fkernel.git - fix config generation --- 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 -