Fix verbose build and debuginfo missing source issue

This commit is contained in:
Neil Horman 2014-06-09 12:07:22 -04:00
parent 851bae4c15
commit fe88d522a3

View File

@ -1,4 +1,4 @@
%global rel 0.6 %global rel 0.7
# As per packaging guidelines, since dpdk is pre-release, this is the git hash # As per packaging guidelines, since dpdk is pre-release, this is the git hash
# that I used with git archive to build the source tarball and the date on which # that I used with git archive to build the source tarball and the date on which
@ -80,12 +80,14 @@ cp %{SOURCE3} ./config/
%patch0 -p1 %patch0 -p1
%build %build
make O=%{target} T=%{target} %{?_smp_mflags} config # need to enable debuginfo
make O=%{target} %{?_smp_mflags} export CPU_CFLAGS=-g
make O=%{target} %{?_smp_mflags} doc make V=1 O=%{target} T=%{target} %{?_smp_mflags} config
make V=1 O=%{target} %{?_smp_mflags}
make V=1 O=%{target} %{?_smp_mflags} doc
%install %install
make O=%{target} DESTDIR=%{destdir} make V=1 O=%{target} DESTDIR=%{destdir}
mkdir -p %{buildroot}%{_sbindir} mkdir -p %{buildroot}%{_sbindir}
mkdir -p %{buildroot}%{_libdir}/%{name}-%{version} mkdir -p %{buildroot}%{_libdir}/%{name}-%{version}
mkdir -p %{buildroot}%{_includedir}/%{name}-%{version} mkdir -p %{buildroot}%{_includedir}/%{name}-%{version}
@ -129,6 +131,9 @@ cp -a tools %{buildroot}%{datadir}
%exclude %{docdir}/html %exclude %{docdir}/html
%changelog %changelog
* Tue May 13 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.0.7-0.4.20140603git5ebbb1728 * Mon Jun 09 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.0.7-0.7.20140603git5ebbb1728
- Added verbose output to build
* Tue May 13 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.0.7-0.6.20140603git5ebbb1728
- Initial Build - Initial Build