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 -