mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
@@ -17,8 +17,6 @@ URL: http://www.libpng.org/
|
||||
#
|
||||
# libpng Source
|
||||
#
|
||||
#%source set libpng ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng%{libpng_src_dir_revision}/libpng-%{libpng_version}.tar.gz
|
||||
|
||||
%source set libpng --rsb-file=libpng-%{libpng_version}.tar.xz http://prdownloads.sourceforge.net/libpng/libpng-%{libpng_version}.tar.xz?download
|
||||
|
||||
#
|
||||
|
@@ -12,7 +12,7 @@ Name: libtiff-v%{tiff_version}-%{_host}-%{release}
|
||||
Summary: libtiff provides support for the Tag Image File Format (TIFF), a widely used format for storing image data.
|
||||
Version: %{tiff_version}
|
||||
Release: %{release}
|
||||
URL: http://www.libtiff.org/
|
||||
URL: http://www.libtiff.org/
|
||||
|
||||
#
|
||||
# libtiff Source
|
||||
@@ -55,7 +55,6 @@ URL: http://www.libtiff.org/
|
||||
--with-docdir=%{_datarootdir}/doc \
|
||||
--disable-shared
|
||||
|
||||
|
||||
%{__make} %{?_smp_mflags} all
|
||||
cd ${build_top}
|
||||
|
||||
|
@@ -40,9 +40,9 @@ URL: http://git.savannah.gnu.org/cgit/lwip.git
|
||||
cd ${build_dir}
|
||||
|
||||
%{host_build_flags}
|
||||
%{rtems_makefile_inc}
|
||||
|
||||
cd ${build_top}/lwip-%{lwip_version}
|
||||
export RTEMS_MAKEFILE_PATH=%{_exec_prefix}
|
||||
%{__make} all
|
||||
|
||||
# cd ${build_top}
|
||||
|
@@ -43,9 +43,8 @@ URL: http://www.microwindows.org/
|
||||
cd ${build_dir}/src
|
||||
cp -r ${build_top}/${source_dir_microwindows}/src/* .
|
||||
|
||||
#%{host_build_flags}
|
||||
|
||||
export RTEMS_MAKEFILE_PATH=%{rtems_bsp_prefix}
|
||||
%{host_build_flags}
|
||||
%{rtems_makefile_inc}
|
||||
|
||||
%{__make} -f Makefile.rtems CONFIG=`pwd`/Configs/config.rtems -k all
|
||||
|
||||
|
@@ -43,7 +43,8 @@ URL: http://www.microwindows.org/
|
||||
cd ${build_dir}
|
||||
cp -r ${build_top}/${source_dir_nxlib}/* .
|
||||
|
||||
export RTEMS_MAKEFILE_PATH=%{_exec_prefix}
|
||||
%{host_build_flags}
|
||||
%{rtems_makefile_inc}
|
||||
|
||||
make -f Makefile.rtems
|
||||
|
||||
|
@@ -410,3 +410,10 @@ win_1253,win_1254,win_1255,win_1256,win_1257,win_1258'''
|
||||
# prefix as part of the path as just a path.
|
||||
#
|
||||
waf_build_root_suffix: none, none, ' %(echo %{_prefix} | cut -c 1-2)'
|
||||
|
||||
# Makefile.inc support for staging
|
||||
rtems_makefile_inc: none, none, '''
|
||||
export RTEMS_ROOT=%{rtems_bsp_rtems_root}
|
||||
export PROJECT_RELEASE=%{rtems_bsp_prefix}
|
||||
export RTEMS_MAKEFILE_PATH=%{rtems_bsp_prefix}
|
||||
'''
|
||||
|
@@ -575,9 +575,11 @@ class buildset:
|
||||
staging_size = path.get_size(stagingroot)
|
||||
if not self.opts.no_clean() or self.opts.always_clean():
|
||||
log.notice('clean staging: %s' % (self.bset))
|
||||
log.trace('cleanup: %s' % (stagingroot))
|
||||
self.rmdir(stagingroot)
|
||||
log.notice('Staging Size: %s' % (build.humanize_number(staging_size)))
|
||||
log.trace('removing: %s' % (stagingroot))
|
||||
if not self.opts.dry_run():
|
||||
if path.exists(stagingroot):
|
||||
path.removeall(stagingroot)
|
||||
log.notice('Staging Size: %s' % (build.humanize_number(staging_size, 'B')))
|
||||
except error.general as gerr:
|
||||
if not build_error:
|
||||
log.stderr(str(gerr))
|
||||
|
Reference in New Issue
Block a user