Browse Source

kernel move arch target into root dir to strip

Signed-off-by: basebuilder_pel7x64builder0 <basebuilder@powerel.org>
master
basebuilder_pel7x64builder0 7 years ago
parent
commit
f853fbe990
  1. 3
      SPECS/kernel.spec

3
SPECS/kernel.spec

@ -55,7 +55,7 @@ @@ -55,7 +55,7 @@
# 64-bit kernel-ml, headers, perf & tools.
%define with_doc 0
%define with_bootwrapper 0
%define make_target vmlinux
%define make_target bzImage
%define configarch x86_64
%endif

@ -378,6 +378,7 @@ BuildKernel() { @@ -378,6 +378,7 @@ BuildKernel() {

#%{__cp} arch/%{buildarch}/boot/%make_target $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA}
#%{__cp} %make_target $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA}
%{__cp} arch/%{buildarch}/boot/%make_target .
eu-strip --remove-comment -o $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA} %make_target
%{__chmod} 755 $RPM_BUILD_ROOT/boot/vmlinuz-%{KVRFA}


Loading…
Cancel
Save