|
|
@ -379,9 +379,10 @@ BuildKernel() { |
|
|
|
#%{__cp} arch/%{buildarch}/boot/%make_target $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA} |
|
|
|
#%{__cp} arch/%{buildarch}/boot/%make_target $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA} |
|
|
|
#%{__cp} %make_target $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA} |
|
|
|
#%{__cp} %make_target $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA} |
|
|
|
if [ %make_target == 'bzImage' ]; then |
|
|
|
if [ %make_target == 'bzImage' ]; then |
|
|
|
%{__cp} arch/%{buildarch}/boot/%make_target . |
|
|
|
%{__cp} arch/%{buildarch}/boot/%make_target $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA} |
|
|
|
fi |
|
|
|
else |
|
|
|
eu-strip --remove-comment -o $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA} %make_target |
|
|
|
eu-strip --remove-comment -o $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA} %make_target |
|
|
|
|
|
|
|
fi |
|
|
|
%{__chmod} 755 $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA} |
|
|
|
%{__chmod} 755 $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA} |
|
|
|
|
|
|
|
|
|
|
|
%{__mkdir_p} $RPM_BUILD_ROOT/lib/modules/%{KVRFA} |
|
|
|
%{__mkdir_p} $RPM_BUILD_ROOT/lib/modules/%{KVRFA} |
|
|
|