+*) 2004-10-31
+
+- some lines adding general mips support
+- very beginning of new crossbuild implementation ;)
+
*) 2004-10-21
- added zvbi library package
confopt="$confopt --datadir=$prefix/share"
confopt="$confopt --infodir=$prefix/info"
confopt="$confopt --mandir=$prefix/man"
- confopt="$confopt --build=$hdw_arch_build"
- confopt="$confopt --host=$hdw_arch_target"
- # crosscompiling
- [ "$hdw_crossbuild" != "0" ] && \
- confopt="$confopt --target=$hdw_arch_target"
if [ "$hdw_status" -gt "1" ] ; then
confopt="$confopt --localstatedir=$localstatedir"
confopt="$confopt --sysconfdir=$sysconfdir"
fi
+ # architecture specific stuff
+ confopt="$confopt --build=$hdw_arch_build"
+ confopt="$confopt --host=$hdw_arch_target"
+ # crosscompiling
+ [ "$package" = "gcc" -o "$package" = "binutils" ] && \
+ confopt="$confopt --target=$hdw_arch_target"
# buildfunctions
pre_install() {
hdw_arch_target="powerpc-unknown-linux-gnu"
[ ! -z "$hdw_arch_opt" ] && hdw_cflags="-march=${hdw_arch_opt}"
hdw_arch_build=${hdw_arch_build//ppc/powerpc} ;;
+ mips) hdw_arch_target="mips-unknown-linux-gnu"
+ [ ! -z "$hdw_arch_opt" ] && hdw_cflags="-march=${hdw_arch_opt}"
+ ;;
*) echo "not supported yet"
echo "please choose a valid optimization and build platform."
exit 1 ;;