Changeset c799e04 in rtems-source-builder
- Timestamp:
- 07/06/19 09:20:09 (4 years ago)
- Branches:
- 5, master
- Children:
- 8922c8b
- Parents:
- bcfb210
- git-author:
- Chris Johns <chrisj@…> (07/06/19 09:20:09)
- git-committer:
- Chris Johns <chrisj@…> (07/21/19 11:09:34)
- Files:
-
- 6 added
- 24 edited
Legend:
- Unmodified
- Added
- Removed
-
rtems/config/databases/sqlite-3.8.8.1-1.cfg
rbcfb210 rc799e04 20 20 %define sqlite_src_year 2015 21 21 22 %hash md5 sqlite-src-%{sqlite_src_version}.zip 9dde57c312da00cbe791bcba42d1e96a22 %hash sha512 sqlite-src-%{sqlite_src_version}.zip 4f09228cb0c9c608e492da6e480afe3d27a63e27ccdcf33a88d5e56427f0846efab8930c81026b8e608f1bbb8d63e8d937dd26571deb828617f7efa27a765950 23 23 24 24 # -
rtems/config/graphics/freetype-2.4.10-1.cfg
rbcfb210 rc799e04 14 14 %define freetype_version 2.4.10 15 15 16 %hash md5 freetype-%{freetype_version}.tar.gz 4f255c6ee5d5cc2b5c3d423a07386fcb16 %hash sha512 freetype-%{freetype_version}.tar.gz 507d1c03d394b695b5a96041ad7ee03b375964c89f007678db864a7e5bd2ee69d83e6c638f4aadaf348c921d37c16741a03ef9bee03196bda2b94ceea409b688 17 17 18 18 # -
rtems/config/graphics/graphics-all.bset
rbcfb210 rc799e04 3 3 # 4 4 5 graphics/freetype2 5 6 graphics/libjpeg 6 7 graphics/libpng 7 8 graphics/libtiff 8 9 graphics/t1lib 9 graphics/microwindows.bset 10 11 # Remove as microwindows does not build. Please fix and provide a patch. 12 # graphics/microwindows -
rtems/config/graphics/libjpeg-9a-1.cfg
rbcfb210 rc799e04 14 14 %define libjpeg_version 9a 15 15 16 %hash md5 jpegsrc.v%{libjpeg_version}.tar.gz 3353992aecaee1805ef4109aadd433e716 %hash sha512 jpegsrc.v%{libjpeg_version}.tar.gz 9b21cc115e22c68bea46db462263c5c7a0d10beb192a919ecccbd801a25982b518ce44d8c301dd582ecaba1850e0e0f20e322be82b0e24ae917b9949b4f10d3b 17 17 18 18 # -
rtems/config/graphics/libpng.bset
rbcfb210 rc799e04 13 13 # Build libpng. 14 14 # 15 graphics/libpng-1.6. 21-1.cfg15 graphics/libpng-1.6.37-1.cfg -
rtems/config/graphics/libtiff-4.0.6-1.cfg
rbcfb210 rc799e04 14 14 %define tiff_version 4.0.6 15 15 16 %hash md5 tiff-%{tiff_version}.tar.gz d1d2e940dea0b5ad435f21f03d96dd7216 %hash sha512 tiff-%{tiff_version}.tar.gz 2c8dbaaaab9f82a7722bfe8cb6fcfcf67472beb692f1b7dafaf322759e7016dad1bc58457c0f03db50aa5bd088fef2b37358fcbc1524e20e9e14a9620373fdf8 17 17 18 18 # -
rtems/config/graphics/libtiff.bset
rbcfb210 rc799e04 13 13 # Build libtiff. 14 14 # 15 graphics/libtiff-4.0. 6-1.cfg15 graphics/libtiff-4.0.10-1.cfg -
rtems/config/graphics/microwindows-0.93-dev-1.cfg
rbcfb210 rc799e04 12 12 # microwindows Version 13 13 # 14 %define microwindows_version 0.93-dev14 %define microwindows_version 56041759161132a94df3e575ae995e53d6b6e1d8 15 15 16 16 %define rtems_git_tools_4_11 %{rtems_http_git}/rtems-tools/plain/tools/4.11 17 17 18 %source set microwindows git://github.com/ghaerr/microwindows.git 18 %hash sha512 microwindows-%{microwindows_version}.tar.gz cf29a9d966a8a5b3926aab7f911c47890c9b1a589ff0ecf098e6be45ae1555958b0e437270fb26e353b8c58f261834a3a7f0fce84bea0fdb9138fc38c8703ddc 19 19 20 %patch add microwindows %{rtems_git_tools_4_11}/microwindows/microwindows-0.93-dev.diff 20 %hash md5 microwindows-0.93-dev.diff 5b06e77d9ee42c8ff0032bba07d01c1a 21 %patch add microwindows %{rtems_git_tools_4_11}/microwindows/microwindows-0.93-dev-without-keyboard.diff 22 %hash md5 microwindows-0.93-dev-without-keyboard.diff a675f55750754e1cd82a17496f0e8fab 21 %hash sha512 microwindows-0.93-dev.diff 2f575f603ce9ccff5c98e9c434d72fb9952d1385903495bf818d50de6568c57c9ca1d3320388e3bae384388d192a389012baf4d734d2cc8481d56f231d2a93d0 22 23 #%patch add microwindows %{rtems_git_tools_4_11}/microwindows/microwindows-0.93-dev-without-keyboard.diff 24 #%hash sha512 microwindows-0.93-dev-without-keyboard.diff c235177fa80035ec70957aee1daa9232c9050abddac08e5f7b2977bd58703224367b4262a2ddc2999b1ac64b5ab838ad3ad740ee1490741293cffe7c16575fb2 23 25 24 26 # -
rtems/config/graphics/t1lib-5.1.2-1.cfg
rbcfb210 rc799e04 14 14 %define t1lib_version 5.1.2 15 15 16 %hash md5 t1lib-%{t1lib_version}.tar.gz a5629b56b93134377718009df1435f3c16 %hash sha512 t1lib-%{t1lib_version}.tar.gz 9f424b19c6f35cc4f194ff7351a4c2352216462c7d1b1d9650ad3a05cf48c6e90c89ccbcda5ecc47a4169a39a850cf84a1fcbf88b3b15614860c27364b631ae3 17 17 18 18 # … … 20 20 # 21 21 %patch add t1lib https://raw.githubusercontent.com/yangqiao/rtems-tools/graphics/tools/4.11/t1lib/t1lib-5.1.2.diff 22 %hash md5 t1lib-5.1.2.diff 98eeed85780227adf8525deab367987722 %hash sha512 t1lib-5.1.2.diff 1afd18182350d7d2426a910c61537f8532e149bf37c616f3a4a84ae0767c4549a2be857db6fd1b1994ed86f8a2e2d4cdfb2abdf67053c8ca1ee83893f4b56d23 23 23 24 24 # -
rtems/config/net-mgmt/net-snmp-5.7.2.1-1.cfg
rbcfb210 rc799e04 14 14 %define net_snmp_version 5.7.2.1 15 15 16 %hash md5 net-snmp-%{net_snmp_version}.tar.gz 7db683faba037249837b226f64d566d416 %hash sha512 net-snmp-%{net_snmp_version}.tar.gz 6c4dadd145cab9572e2559ad99d6794469685086771c6d757d3667da1a061ab86746d53c28d48381c59a90d92b1812b813f3176cff156c41929177fb585299d0 17 17 18 18 # … … 24 24 # Patch for RTEMS support. 25 25 # 26 %patch add net-snmp %{rtems_git_tools}/net-snmp/rtems-net-snmp-5.7.2.1-201 40623.patch27 %hash md5 rtems-net-snmp-5.7.2.1-20140623.patch 9a22fb4366a113f5df71ed2acd672b2b 26 %patch add net-snmp %{rtems_git_tools}/net-snmp/rtems-net-snmp-5.7.2.1-20190704.patch 27 #%hash sha512 rtems-net-snmp-5.7.2.1-20140623.patch 4eb987d88c6414f2e07d725c2ebb3e88a40191c7befce879cae9ef67143dc25aa88942cfc525d36cd3683476d1cc0f5882d4a730d3bb9c53be2c7a079874d7dd 28 28 29 29 # -
rtems/config/net/lwip-1-1.cfg
rbcfb210 rc799e04 12 12 # LWIP Version 13 13 # 14 %define lwip_version lwip-c2ebf5544b4268eac9b32c7f3a689ff646d96eef 14 %define lwip_version c2ebf5544b4268eac9b32c7f3a689ff646d96eef 15 %hash sha512 lwip-%{lwip_version}.tar.gz bfa93e050133ca591c628f0e3a04f5082f55a655b099cdd49138ebf74494354a4cbbee56839f5939174b4c965b29ec648c24b7479c73393ac94ec536cb578b70 15 16 16 #Will be modified to be pointing to RTEMS repo 17 # 18 # Will be modified to be pointing to RTEMS repo 19 # 17 20 %define rtems_ragu_git https://raw.githubusercontent.com/ragunath3252/lwip-nodrv/master 21 18 22 # 19 23 # Patch for RTEMS support. 20 24 # 21 %patch add lwip %{rtems_ragu_git}/rtems.patch22 %hash md5 rtems.patch 489c0def3a89e538fb526a5396bf27ca25 %patch add lwip --rsb-file=lwip-nodrv-rtems.patch %{rtems_ragu_git}/rtems.patch 26 %hash sha512 lwip-nodrv-rtems.patch ba49163e11069cb036280023db064625e5d1aed3a6cf3e51c64e59639580e9f758434e60853242fb924eb5cebc73b478f01ff51f24505e85d4c21bb1963415e1 23 27 24 28 # -
rtems/config/net/ntp-4.2.6p5-1.cfg
rbcfb210 rc799e04 14 14 %define ntp_version 4.2.6p5 15 15 16 %hash md5 ntp-%{ntp_version}.tar.gz 00df80a84ec9528fcfb09498075525bc16 %hash sha512 ntp-%{ntp_version}.tar.gz 8d76fc7e92b2ea6dd5031e6030a7aba4ff6fb3e19d3bc0153852509861be5d0960e70604814163caedb81f8315a451d78371f99634a50b55cfe1cbd2c69e3046 17 17 18 18 # 19 19 # Patch for RTEMS support. 20 20 # 21 %patch add ntp %{rtems_ git_tools}/ntp/rtems-ntp-4.2.6p5.diff22 %hash md5 rtems-ntp-4.2.6p5.diff 6fce685a73873f924a48b19d6b1700fc21 %patch add ntp %{rtems_http_git}/rtems-tools/plain/tools/4.11/ntp/rtems-ntp-4.2.6p5.diff 22 %hash sha512 rtems-ntp-4.2.6p5.diff 257223d207d0b77cde2b9d7add22e3b9d657b58998411d2e20d0b1adf36910be21f1277386c54c34f5d9616fccd29f721d007295708047ea7ae0270a00be25a0 23 23 24 24 # -
rtems/config/net/protobuf-2.6.1-1.cfg
rbcfb210 rc799e04 14 14 %define protobuf_version 2.6.1 15 15 16 %hash md5 protobuf-%{protobuf_version}.tar.gz f3916ce13b7fcb3072a1fa8cf02b242316 %hash sha512 protobuf-%{protobuf_version}.tar.gz 818ac4ad24aca84d214d14ac860a75c14494528821af144d3cb603f69c94d4500512814be6d62cc82973804ebfa99eb94d9f034b309f53cadb622603a7886a3e 17 17 18 18 # -
rtems/config/rtems-bsp.cfg
rbcfb210 rc799e04 4 4 5 5 # 6 # The RTEMS BSP support requires the host tu rple, the RTEMS BSP and the path to6 # The RTEMS BSP support requires the host tuple, the RTEMS BSP and the path to 7 7 # the tools. The prefix is set to an installed RTEMS. The built package is 8 8 # installed into the prefix. 9 9 # 10 10 # Keeping the package's installed path in the RTEMS install path and separate 11 # to the tools lets the tools version vary independently. If --rtems-tools 12 # (--with-tools) is not provided use the prefix. 11 # to the tools lets the tools version vary independently. 12 # 13 # Provide the path to the RTEMS tools is not in the prefix with the 14 # --with-tools option. If --with-tools is not provided use the prefix. 15 # 16 # Provide the path to the installed RTEMS kernel is not in the prefix with the 17 # --with-rtems option. If --with-rtems is not provided use the prefix. 18 # 19 # Note, only a single path (--with-rtems) for the RTEMS kernel and any other 20 # add on or 3rd party libraries is supported. 13 21 # 14 22 … … 24 32 %endif 25 33 26 %if %{_target} == %{nil} && %{rtems_bsp_error} 27 %error No RTEMS target specified: --rtems-bsp=arch/bsp (or --target=target) 34 # 35 # The target is used by compilers or Cxc builds. 36 # 37 %if %{_target} != %{nil} 38 %error RTEMS BSP builds use --host and not --target 28 39 %endif 29 40 30 %if %{_host} != %{_build} 31 %error Canadian cross building for BSP is not supported. 41 # 42 # We need a host from the user to specifiy the RTEMS architecture and major 43 # version. 44 # 45 %if %{_host} == %{nil} && %{rtems_bsp_error} 46 %error No RTEMS host or BSP specified: --host=<arch>-rtems<ver> 32 47 %endif 33 48 49 # 50 # We need a BSP from the user. 51 # 34 52 %ifn %{defined with_rtems_bsp} 35 53 %if %{rtems_bsp_error} … … 39 57 %endif 40 58 59 # 60 # If no tools or RTEMS provided use the prefix. 61 # 41 62 %ifn %{defined with_tools} 42 63 %define with_tools %{_prefix} 43 64 %endif 44 65 45 # 46 # Set the host to the target. 47 # 48 %define _host %{_target} 66 %ifn %{defined with_rtems} 67 %define with_rtems %{_prefix} 68 %endif 49 69 50 70 # … … 58 78 # warning from the flags that RTEMS exports. 59 79 # 60 %{pkgconfig prefix %{ _prefix}/lib/pkgconfig}80 %{pkgconfig prefix %{with_rtems}/lib/pkgconfig} 61 81 %{pkgconfig crosscompile yes} 62 82 %{pkgconfig filter-flags yes} … … 65 85 # The RTEMS BSP Flags 66 86 # 67 %define rtems_bsp 68 %define rtems_bsp_ccflags 69 %define rtems_bsp_cflags 70 %define rtems_bsp_ldflags 71 %define rtems_bsp_libs 87 %define rtems_bsp %{with_rtems_bsp} 88 %define rtems_bsp_ccflags %{pkgconfig ccflags %{_host}-%{rtems_bsp}} 89 %define rtems_bsp_cflags %{pkgconfig cflags %{_host}-%{rtems_bsp}} 90 %define rtems_bsp_ldflags %{pkgconfig ldflags %{_host}-%{rtems_bsp}} 91 %define rtems_bsp_libs %{pkgconfig libs %{_host}-%{rtems_bsp}} 72 92 73 93 %if %{rtems_bsp_cflags} == %{nil} && %{rtems_bsp_error} 74 %error No RTEMS targetCFLAGS found; Please check the --rtems-bsp option.94 %error No RTEMS BSP CFLAGS found; Please check the --rtems-bsp option. 75 95 %endif 76 96 77 97 %if %{rtems_bsp_ccflags} == %{nil} 78 98 %define rtems_bsp_ccflags %{rtems_bsp_cflags} 99 %endif 100 101 # 102 # RTEMS BSP paths 103 # 104 %define rtems_bsp_cc %{_host}-gcc 105 %define rtems_bsp_incpath %{with_rtems}/%{_host}/%{rtems_bsp}/include 106 %define rtems_bsp_libpath %{with_rtems}/%{_host}/%{rtems_bsp}/lib 107 108 # 109 # Check for installed libraries. 110 # 111 # - Check is LibBSD is install 112 # - Add librtemsdefaultconfig so configure scripts work. 113 # 114 # Note: default BSP flags include the standard RTEMS libraries. 115 # 116 %define rtems-dep-check %(%{_sbdir}/sb/rtems-build-dep -c %{with_tools}/bin/%{rtems_bsp_cc} 117 118 %define rtems-libbsd %{rtems-dep-check} -L %{rtems_bsp_libpath} -l libbsd.a) 119 %if %{rtems-libbsd} == found 120 %define rtems_bsp_libs %{rtems_bsp_libs} -lbsd -lm -lz 121 %endif 122 123 %define rtems-defaultconfig %{rtems-dep-check} -L %{rtems_bsp_libpath} -l librtemsdefaultconfig.a) 124 %if %{rtems-defaultconfig} == found 125 %define rtems_bsp_libs %{rtems_bsp_libs} -lrtemsdefaultconfig 79 126 %endif 80 127 -
source-builder/config/libpng-1.cfg
rbcfb210 rc799e04 18 18 # libpng Source 19 19 # 20 %source set libpng ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng%{libpng_src_dir_revision}/libpng-%{libpng_version}.tar.gz 20 #%source set libpng ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng%{libpng_src_dir_revision}/libpng-%{libpng_version}.tar.gz 21 22 %source set libpng --rsb-file=libpng-%{libpng_version}.tar.xz http://prdownloads.sourceforge.net/libpng/libpng-%{libpng_version}.tar.xz?download 21 23 22 24 # -
source-builder/config/libtiff-1.cfg
rbcfb210 rc799e04 18 18 # libtiff Source 19 19 # 20 %source set libtiff ftp://ftp.remotesensing.org/pub/libtiff/tiff-%{tiff_version}.tar.gz20 %source set libtiff http://download.osgeo.org/libtiff/tiff-%{tiff_version}.tar.gz 21 21 22 22 # -
source-builder/config/lwip-1.cfg
rbcfb210 rc799e04 18 18 # LWIP Source 19 19 # 20 %source set lwip git://git.sv.gnu.org/lwip.git?fetch?reset=hard?branch=master?checkout=c2ebf5544b4268eac9b32c7f3a689ff646d96eef 20 %source set lwip http://git.savannah.gnu.org/cgit/lwip.git/snapshot/lwip-%{lwip_version}.tar.gz 21 21 22 # 22 23 # Prepare the source code. … … 25 26 build_top=$(pwd) 26 27 27 source_dir_lwip=" %{lwip_version}"28 %source setup lwip -q -n %{lwip_version}28 source_dir_lwip="lwip-%{lwip_version}" 29 %source setup lwip -q -n lwip-%{lwip_version} 29 30 %patch setup lwip -p1 30 31 … … 41 42 %{host_build_flags} 42 43 43 cd ${build_top}/ %{lwip_version}44 cd ${build_top}/lwip-%{lwip_version} 44 45 export RTEMS_MAKEFILE_PATH=%{_exec_prefix} 45 46 %{__make} all … … 48 49 49 50 #%install 50 build_top=$(pwd)/ %{lwip_version}51 build_top=$(pwd)/lwip-%{lwip_version} 51 52 52 53 %{__make} install -
source-builder/config/microwindows-1.cfg
rbcfb210 rc799e04 9 9 %endif 10 10 11 Name: microwindows- v%{microwindows_version}-%{_host}-%{release}11 Name: microwindows-%{microwindows_version}-%{_host}-%{release} 12 12 Summary: microwindows is an Open Source Window System 13 13 Version: %{microwindows_version} 14 14 Release: %{release} 15 URL: http://www.microwindows.org/15 URL: http://www.microwindows.org/ 16 16 17 17 # 18 18 # microwindows Source 19 19 # 20 %source set microwindows ftp://microwindows.censoft.com/pub/microwindows/microwindows-src-%{microwindows_version}.tar.gz20 %source set microwindows --rsb-file=microwindows-%{microwindows_version}.tar.gz https://codeload.github.com/ghaerr/microwindows/tar.gz/%{microwindows_version} 21 21 22 22 # … … 26 26 build_top=$(pwd) 27 27 28 source_dir_microwindows="microwin "29 %source setup microwindows -q -n microwin 28 source_dir_microwindows="microwindows-%{microwindows_version}" 29 %source setup microwindows -q -n microwindows-%{microwindows_version} 30 30 %patch setup microwindows -p1 31 31 -
source-builder/config/net-snmp-5-1.cfg
rbcfb210 rc799e04 44 44 CFLAGS="${CFLAGS} %{net_snmp_cflags}" 45 45 46 LIBS="-lbsd -lm -lz -lrtemsdefaultconfig" \ 46 47 ../${source_dir_net_snmp}/configure \ 47 48 --host=%{_host} \ -
source-builder/config/t1lib-1.cfg
rbcfb210 rc799e04 18 18 # t1lib Source 19 19 # 20 %source set t1lib ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/t1lib-%{t1lib_version}.tar.gz20 %source set t1lib http://ftp.netbsd.org/pub/pkgsrc/distfiles/t1lib-%{t1lib_version}.tar.gz 21 21 22 22 # -
source-builder/defaults.mc
rbcfb210 rc799e04 65 65 # flags and include paths to the tools. The host is the final platform 66 66 # the tools will run on and build is the host building the tools. 67 host_cflags: none, convert, '-O2 - pipe'68 host_cxxflags: none, convert, '-O2 - pipe'67 host_cflags: none, convert, '-O2 -g -pipe' 68 host_cxxflags: none, convert, '-O2 -g -pipe' 69 69 host_ldflags: none, convert, '' 70 70 host_includes: none, convert, '' 71 build_cflags: none, convert, '-O2 -pipe' 72 build_cxxflags: none, convert, '-O2 -pipe' 71 host_libs: none, convert, '' 72 build_cflags: none, convert, '-O2 -g -pipe' 73 build_cxxflags: none, convert, '-O2 -g -pipe' 73 74 build_ldflags: none, convert, '' 74 75 build_includes: none, convert, '' 76 build_libs: none, convert, '' 75 77 76 78 # Extra path a platform can override. … … 204 206 # host == build, use build; host != build, host uses host and build uses build 205 207 SB_HOST_CPPFLAGS="%{host_includes}" 206 SB_HOST_CFLAGS="%{host_cflags} %{host_includes}" 207 SB_HOST_CXXFLAGS="%{host_cxxflags} %{host_includes}" 208 # Optionally do not add includes to c/cxx flags as newer configure's complain 209 SB_HOST_CFLAGS="%{host_cflags} %{!?host_cflags_no_includes %{host_includes}}" 210 SB_HOST_CXXFLAGS="%{host_cxxflags} %{!?host_cflags_no_includes %{host_includes}}" 208 211 SB_HOST_LDFLAGS="%{host_ldflags} %{?_tmproot:-L%{_tmproot}/${SB_PREFIX_CLEAN}/lib}" 212 SB_HOST_LIBS="%{host_libs}" 209 213 SB_BUILD_CFLAGS="%{build_cflags} %{?_tmproot:-I%{_tmproot}/${SB_PREFIX_CLEAN}/include}" 210 214 SB_BUILD_CXXFLAGS="%{build_cxxflags} %{?_tmproot:-I%{_tmproot}/${SB_PREFIX_CLEAN}/include}" 211 215 SB_BUILD_LDFLAGS="%{build_ldflags} %{?_tmproot:-L%{_tmproot}/${SB_PREFIX_CLEAN}/lib}" 216 SB_BUILD_LBS="%{build_libs}" 212 217 SB_CFLAGS="${SB_BUILD_CFLAGS} %{build_includes}" 213 218 SB_CXXFLAGS="${SB_BUILD_CXXFLAGS} %{build_includes}" … … 215 220 SB_OS="%{_os}" 216 221 export SB_SOURCE_DIR SB_BUILD_DIR SB_ARCH SB_OS 217 export SB_HOST_CPPFLAGS SB_HOST_CFLAGS SB_HOST_CXXFLAGS SB_HOST_LDFLAGS 218 export SB_BUILD_CFLAGS SB_BUILD_CXXFLAGS SB_BUILD_LDFLAGS 222 export SB_HOST_CPPFLAGS SB_HOST_CFLAGS SB_HOST_CXXFLAGS SB_HOST_LDFLAGS SB_HOST_LIBS 223 export SB_BUILD_CFLAGS SB_BUILD_CXXFLAGS SB_BUILD_LDFLAGS SB_BUILD_LIBS 219 224 export SB_CFLAGS SB_CXXFLAGS 220 225 # Documentation … … 327 332 CXXFLAGS="${SB_HOST_CXXFLAGS}" 328 333 LDFLAGS="${SB_HOST_LDFLAGS}" 334 LIBS="${SB_HOST_LIBS}" 329 335 # Host 330 336 CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}" … … 332 338 CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}" 333 339 LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}" 340 LIBS_FOR_HOST="${SB_HOST_LIBS}" 334 341 CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}" 335 342 CC_FOR_HOST=$(echo "%{_host_cc} ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,') … … 339 346 CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}" 340 347 LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}" 348 LIBS_FOR_BUILD="${SB_BUILD_LIBS}" 341 349 CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}" 342 350 CC_FOR_BUILD=$(echo "%{__cc} ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,') … … 344 352 else 345 353 LDFLAGS="${SB_BUILD_LDFLAGS}" 354 LIBS="${SB_BUILD_LIBS}" 346 355 CC=$(echo "%{__cc} ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,') 347 356 CXX=$(echo "%{__cxx} ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,') … … 349 358 CXX_FOR_BUILD=${CXX} 350 359 fi 351 export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS 352 export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST 353 export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD '''360 export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS 361 export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LIBS_FOR_HOST 362 export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LIBS_FOR_BUILS''' 354 363 355 364 # Build/build flags. … … 358 367 # gcc is not ready to be compiled with -std=gnu99 359 368 LDFLAGS="${SB_HOST_LDFLAGS}" 369 LIBS="${SB_HOST_LIBS}" 360 370 CC=$(echo "%{__cc} ${SB_CFLAGS}" | sed -e 's,-std=gnu99 ,,') 361 371 CXX=$(echo "%{__cxx} ${SB_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,') 362 372 CC_FOR_BUILD=${CC} 363 373 CXX_FOR_BUILD=${CXX} 364 export CC CXX CC_FOR_BUILD CXX_FOR_BUILD CFLAGS LDFLAGS '''374 export CC CXX CC_FOR_BUILD CXX_FOR_BUILD CFLAGS LDFLAGS LIBS''' 365 375 366 376 # Default package settings -
source-builder/sb/options.py
rbcfb210 rc799e04 421 421 _build = self.defaults.expand('%{_build}') 422 422 _target = self.defaults.expand('%{_target}') 423 if len(_target): 424 return len(_host) and len(_build) and (_target) and \ 425 _host != _build and _host != _target 426 return len(_host) and len(_build) and _host != _build 423 # 424 # This has been removed to fix how RTEMS 3rd party libraries 425 # are built. This may break Cxc tools builds. 426 # 427 # if len(_target): 428 # return len(_host) and len(_build) and (_target) and \ 429 # _host != _build and _host != _target 430 return len(_target) and len(_host) and len(_build) and _host != _build 427 431 428 432 def user_macros(self): -
source-builder/sb/rtems-build-dep
rbcfb210 rc799e04 142 142 # 143 143 if [ ${op} = "library" ]; then 144 if [ "${OS}" = "Windows_NT" -a "${OSTYPE}" -ne"cygwin" ]; then144 if [ "${OS}" = "Windows_NT" -a "${OSTYPE}" != "cygwin" ]; then 145 145 sep=';' 146 146 else -
source-builder/sb/setbuilder.py
rbcfb210 rc799e04 414 414 # 415 415 log.trace('_bset: macros post-build') 416 log.trace(str( macros))416 log.trace(str(b.macros)) 417 417 else: 418 418 raise error.general('invalid config type: %s' % (configs[s]))
Note: See TracChangeset
for help on using the changeset viewer.