Changeset 5ceb567e in rtems
- Timestamp:
- 08/27/06 12:44:08 (17 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- e25ff2c
- Parents:
- 4f5d2dfc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/mingw/build-rpms.sh
r4f5d2dfc r5ceb567e 14 14 # 15 15 16 source=$(dirname $0) 17 16 18 terminate() 17 19 { … … 33 35 base_tool_list="binutils gcc" 34 36 35 target_list= "arm avr h8300 i386 m68k mips powerpc sh sparc tic4x"37 target_list=$(cat $source/targets) 36 38 host_list="cygwin freebsd5.2 freebsd6.0 freebsd6.1 mingw32" 37 39 38 rtems_tool_list=" $base_tool_list"40 rtems_tool_list="autoconf automake $base_tool_list" 39 41 linux_tool_list="autoconf automake $base_tool_list" 40 42 cygwin_tool_list="w32api libs autoconf automake $base_tool_list" … … 63 65 local_rpm_database=yes 64 66 clean=yes 65 source=$(pwd)66 67 67 68 while [ $# -gt 0 ]; … … 347 348 for s in ${rtems_tool_list} 348 349 do 349 rpmbuild_cmd="-ba $prefix/rtems$version/$t/$rpm_prefix$t-rtems$version-$s.spec --target=$pth" 350 case $s in 351 autoconf|automake) 352 # Hack around the prefix in the spec files for autotools. 353 ba="-ba $prefix/autotools/$rpm_prefix$s-rtems.spec" 354 ;; 355 *) 356 ba="-ba $prefix/rtems$version/$t/$rpm_prefix$t-rtems$version-$s.spec" 357 esac 358 359 rpmbuild_cmd="$ba --target=$pth" 350 360 351 361 if [ $canadian_cross = yes ]; then 352 362 ccl=${h}_cc_name 353 363 echo "rpmbuild --define '_build $processor-redhat-linux' " \ 354 "--define '_host $pth' $rpm_database $rpmbuild_cmd " 364 "--define '_host $pth' " \ 365 "--define '_defaultdocdir $prefix/share/doc' " \ 366 "$rpm_database $rpmbuild_cmd " 355 367 $rpmbuild --define "_build $processor-redhat-linux" \ 356 368 --define "_host $pth" \ 369 --define "_defaultdocdir $prefix/share/doc" \ 357 370 --define "__cc $p-${!ccl}-$h-gcc" \ 358 371 $rpm_database $rpmbuild_cmd 359 372 check "building host cross target: $rpm_prefix$t-rtems$version-$s" 360 373 else 361 echo "rpmbuild $rpm_database $rpmbuild_cmd" 362 $rpmbuild $rpm_database $rpmbuild_cmd 374 echo "rpmbuild --define '_defaultdocdir $prefix/share/doc' "\ 375 "$rpm_database $rpmbuild_cmd" 376 $rpmbuild --define "_defaultdocdir $prefix/share/doc" \ 377 $rpm_database $rpmbuild_cmd 363 378 check "building host cross target: $rpm_prefix$t-rtems$version-$s" 364 379 fi
Note: See TracChangeset
for help on using the changeset viewer.