]> TLD Linux GIT Repositories - packages/kernel.git/commitdiff
- fix config generation
authorMarcin Krol <hawk@tld-linux.org>
Mon, 22 Apr 2013 12:59:05 +0000 (12:59 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Mon, 22 Apr 2013 12:59:05 +0000 (12:59 +0000)
kernel-vanilla.spec

index 5214d3fa4bf68fd11208f2d3667e44dac5d0acc6..1d3e396c268a68fd1f7017822bd7005e221b743d 100644 (file)
@@ -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 -