all_arch_configs can be undefined

"all_arch_configs" is not defined on architectures where only the kernel-headers
package is built, like on s390 and sparc/sparcv9.

workarounds Jarod's 5b65297cef
This commit is contained in:
Dan Horák 2011-01-25 09:50:05 +01:00
parent 6e3a83fee3
commit d84ac0f64e
1 changed files with 2 additions and 0 deletions

View File

@ -1221,6 +1221,7 @@ cp %{SOURCE15} .
# Dynamically generate kernel .config files from config-* files
make -f %{SOURCE20} VERSION=%{version} configs
%if %{?all_arch_configs:1}%{!?all_arch_configs:0}
#if a rhel kernel, apply the rhel config options
%if 0%{?rhel}
for i in %{all_arch_configs}
@ -1238,6 +1239,7 @@ do
./merge.pl %{SOURCE1000} $i.tmp > $i
rm $i.tmp
done
%endif
ApplyOptionalPatch git-linus.diff