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