#!/bin/sh -e export localstatedir="/var" export prefix="/usr" export STRIP="arm-angstrom-linux-gnueabi-strip" export STAGING_SIPDIR="/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/i686-linux/share/sip" export libexecdir="/usr/libexec" export datadir="/usr/share" export BUILD_CXX="g++" export LD="arm-angstrom-linux-gnueabi-ld" export EXTRA_OEMAKE="${PARALLEL_MAKE} -e MAKEFLAGS=" export TARGET_CXXFLAGS="-isystem/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive" export includedir="/usr/include" export MANIFEST="/home/njgreenfield/gumstix/gumstix-oe/user.collection/packages/spca5xx/spca5xx-20060501/./manifest" export BUILD_CC="gcc" export BUILD_LDFLAGS="-L/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/i686-linux/lib -Wl,-rpath-link,/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/i686-linux/lib -Wl,-rpath,/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/i686-linux/lib -Wl,-O1" export BUILD_LD="ld" export oldincludedir="/usr/include" export BUILD_CCLD="gcc" export base_libdir="/lib" export palmtopdir="/usr/lib/opie" export CC="arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=xscale" export PATH="/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/i686-linux/bin/arm-angstrom-linux-gnueabi:/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/i686-linux/bin:/home/njgreenfield/gumstix/gumstix-oe/tmp/cross/bin:/home/njgreenfield/gumstix/gumstix-oe/bitbake/bin:/home/njgreenfield/gumstix/gumstix-oe/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" export TARGET_CFLAGS="-isystem/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os" export CPPFLAGS="-isystem/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/include" export RANLIB="arm-angstrom-linux-gnueabi-ranlib" export CXX="arm-angstrom-linux-gnueabi-g++ -march=armv5te -mtune=xscale" export BUILD_RANLIB="ranlib" export OS="linux-gnueabi" export mandir="/usr/share/man" export sharedstatedir="/usr/com" export OBJCOPY="arm-angstrom-linux-gnueabi-objcopy" export servicedir="/srv" export PKG_CONFIG_DIR="/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib/pkgconfig" export LDFLAGS="-L/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib -Wl,-rpath-link,/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib -Wl,-O1" export bindir="/usr/bin" export sysconfdir="/etc" export CCLD="arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=xscale" export MAKE="make" export base_bindir="/bin" export sbindir="/usr/sbin" export CFLAGS="-isystem/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os" export libdir="/usr/lib" export PKG_CONFIG_DISABLE_UNINSTALLED="yes" export OPIEDIR="/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi" export BUILD_F77="g77" export TARGET_LDFLAGS="-L/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib -Wl,-rpath-link,/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib -Wl,-O1" export PATCH_GET="0" export CXXFLAGS="-isystem/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -fvisibility-inlines-hidden" export QMAKE_MKSPEC_PATH="/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/i686-linux/share/qmake" export F77="arm-angstrom-linux-gnueabi-g77 -march=armv5te -mtune=xscale" export KERNEL_VERSION="2.6.21" export QTDIR="/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/qt2" export KERNEL_SOURCE="/home/njgreenfield/gumstix/gumstix-oe/tmp/work/gumstix-custom-verdex-angstrom-linux-gnueabi/gumstix-kernel-2.6.21-r1/linux-2.6.21" export QPEDIR="/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi" export BUILD_CXXFLAGS="-isystem/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/i686-linux/include -Os -fpermissive" export BBPATH="/home/njgreenfield/gumstix/gumstix-oe/user.collection/packages/spca5xx:/home/njgreenfield/gumstix/gumstix-oe/org.openembedded.snapshot/conf/distro/include:/home/njgreenfield/gumstix/gumstix-oe/org.openembedded.snapshot/conf/distro/include:/home/njgreenfield/gumstix/gumstix-oe/org.openembedded.snapshot/conf/distro/include:/home/njgreenfield/gumstix/gumstix-oe/org.openembedded.snapshot/conf/distro/include:/home/njgreenfield/gumstix/gumstix-oe/org.openembedded.snapshot/conf/distro/include:/home/njgreenfield/gumstix/gumstix-oe/org.openembedded.snapshot/conf/distro/include:/home/njgreenfield/gumstix/gumstix-oe/org.openembedded.snapshot/conf/distro/include:/home/njgreenfield/gumstix/gumstix-oe/org.openembedded.snapshot/conf/distro/include:/home/njgreenfield/gumstix/gumstix-oe/org.openembedded.snapshot/conf/distro/include:/home/njgreenfield/gumstix/gumstix-oe/org.openembedded.snapshot/conf/distro/include:/home/njgreenfield/gumstix/gumstix-oe/com.gumstix.collection/conf/machine/include:/home/njgreenfield/gumstix/gumstix-oe/com.gumstix.collection/conf/machine/include:/home/njgreenfield/gumstix/gumstix-oe/build:/home/njgreenfield/gumstix/gumstix-oe/user.collection:/home/njgreenfield/gumstix/gumstix-oe/com.gumstix.collection:/home/njgreenfield/gumstix/gumstix-oe/org.openembedded.snapshot" export BUILD_CPP="cpp" export BUILD_CFLAGS="-isystem/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/i686-linux/include -Os" export docdir="/usr/share/doc" export infodir="/usr/share/info" export ARCH="arm" export base_sbindir="/sbin" export PKG_CONFIG_PATH="/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib/pkgconfig" export AS="arm-angstrom-linux-gnueabi-as" export AR="arm-angstrom-linux-gnueabi-ar" export BUILD_CPPFLAGS="-isystem/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/i686-linux/include" export CPP="arm-angstrom-linux-gnueabi-gcc -E" export CONFIG_SITE="/home/njgreenfield/gumstix/gumstix-oe/org.openembedded.snapshot/site/endian-little /home/njgreenfield/gumstix/gumstix-oe/org.openembedded.snapshot/site/common-glibc /home/njgreenfield/gumstix/gumstix-oe/org.openembedded.snapshot/site/arm-common /home/njgreenfield/gumstix/gumstix-oe/org.openembedded.snapshot/site/arm-linux /home/njgreenfield/gumstix/gumstix-oe/org.openembedded.snapshot/site/common /home/njgreenfield/gumstix/gumstix-oe/org.openembedded.snapshot/site/common" export TARGET_CPPFLAGS="-isystem/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/include" export exec_prefix="/usr" export STAGING_IDLDIR="/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/share/idl" unset MACHINE export BUILD_AR="ar" export OBJDUMP="arm-angstrom-linux-gnueabi-objdump" export CROSS_COMPILE="arm-angstrom-linux-gnueabi-" unset DISTRO export palmqtdir="/usr/lib/opie" export BUILD_STRIP="strip" do_fetchall() { base_do_fetchall } do_devshell() { devshell_do_devshell } do_stage() { base_do_stage } base_do_configure() { : } package_generate_ipkg_conf() { mkdir -p /home/njgreenfield/gumstix/gumstix-oe/tmp/staging/i686-linux/etc/ echo "src oe file:/home/njgreenfield/gumstix/gumstix-oe/tmp/deploy/glibc/ipk" > /home/njgreenfield/gumstix/gumstix-oe/tmp/staging/i686-linux/etc/ipkg.conf echo "src oe file:/home/njgreenfield/gumstix/gumstix-oe/tmp/deploy/glibc/ipk" > /home/njgreenfield/gumstix/gumstix-oe/tmp/staging/i686-linux/etc/ipkg-sdk.conf ipkgarchs="all any noarch arm armv4 armv4t armv5e armv5te gumstix-custom-verdex" priority=1 for arch in $ipkgarchs; do echo "arch $arch $priority" >> /home/njgreenfield/gumstix/gumstix-oe/tmp/staging/i686-linux/etc/ipkg.conf echo "arch i686-$arch-sdk $priority" >> /home/njgreenfield/gumstix/gumstix-oe/tmp/staging/i686-linux/etc/ipkg-sdk.conf priority=$(expr $priority + 5) if [ -e /home/njgreenfield/gumstix/gumstix-oe/tmp/deploy/glibc/ipk/$arch/Packages ] ; then echo "src oe-$arch file:/home/njgreenfield/gumstix/gumstix-oe/tmp/deploy/glibc/ipk/$arch" >> /home/njgreenfield/gumstix/gumstix-oe/tmp/staging/i686-linux/etc/ipkg.conf fi if [ -e /home/njgreenfield/gumstix/gumstix-oe/tmp/deploy/glibc/ipk/i686-$arch-sdk/Packages ] ; then echo "src oe-i686-$arch-sdk file:/home/njgreenfield/gumstix/gumstix-oe/tmp/deploy/glibc/ipk/i686-$arch-sdk" >> /home/njgreenfield/gumstix/gumstix-oe/tmp/staging/i686-linux/etc/ipkg-sdk.conf fi done } base_do_stage() { : } die() { oefatal "$*" } base_do_install() { : } module_do_install() { unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS oe_runmake DEPMOD=echo INSTALL_MOD_PATH="/home/njgreenfield/gumstix/gumstix-oe/tmp/work/gumstix-custom-verdex-angstrom-linux-gnueabi/spca5xx-20060501-r0/image" CC="arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=xscale" LD="arm-angstrom-linux-gnueabi-ld " modules_install } base_do_fetchall() { : } base_do_package() { : } devshell_do_devshell() { export TERMWINDOWTITLE="Bitbake Developer Shell" gnome-terminal --disable-factory -t "$TERMWINDOWTITLE" if [ $? -ne 0 ]; then echo "Fatal: 'gnome-terminal --disable-factory -t "$TERMWINDOWTITLE"' not found. Check TERMCMD variable." exit 1 fi } oe_libinstall() { # Purpose: Install a library, in all its forms # Example # # oe_libinstall libltdl /home/njgreenfield/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib/ # oe_libinstall -C src/libblah libblah /home/njgreenfield/gumstix/gumstix-oe/tmp/work/gumstix-custom-verdex-angstrom-linux-gnueabi/spca5xx-20060501-r0/image//usr/lib/ dir="" libtool="" silent="" require_static="" require_shared="" staging_install="" while [ "$#" -gt 0 ]; do case "$1" in -C) shift dir="$1" ;; -s) silent=1 ;; -a) require_static=1 ;; -so) require_shared=1 ;; -*) oefatal "oe_libinstall: unknown option: $1" ;; *) break; ;; esac shift done libname="$1" shift destpath="$1" if [ -z "$destpath" ]; then oefatal "oe_libinstall: no destination path specified" fi if echo "$destpath/" | egrep '^/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib/' >/dev/null then staging_install=1 fi __runcmd () { if [ -z "$silent" ]; then echo >&2 "oe_libinstall: $*" fi $* } if [ -z "$dir" ]; then dir=`pwd` fi dotlai=$libname.lai dir=$dir`(cd $dir;find . -name "$dotlai") | sed "s/^\.//;s/\/$dotlai\$//;q"` olddir=`pwd` __runcmd cd $dir lafile=$libname.la # If such file doesn't exist, try to cut version suffix if [ ! -f "$lafile" ]; then libname1=`echo "$libname" | sed 's/-[0-9.]*$//'` lafile1=$libname.la if [ -f "$lafile1" ]; then libname=$libname1 lafile=$lafile1 fi fi if [ -f "$lafile" ]; then # libtool archive eval `cat $lafile|grep "^library_names="` libtool=1 else library_names="$libname.so* $libname.dll.a" fi __runcmd install -d $destpath/ dota=$libname.a if [ -f "$dota" -o -n "$require_static" ]; then __runcmd install -m 0644 $dota $destpath/ fi if [ -f "$dotlai" -a -n "$libtool" ]; then if test -n "$staging_install" then # stop libtool using the final directory name for libraries # in staging: __runcmd rm -f $destpath/$libname.la __runcmd sed -e 's/^installed=yes$/installed=no/' -e '/^dependency_libs=/s,/home/njgreenfield/gumstix/gumstix-oe/tmp/work/gumstix-custom-verdex-angstrom-linux-gnueabi/spca5xx-20060501-r0[[:alnum:]/\._+-]*/\([[:alnum:]\._+-]*\),/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib/\1,g' $dotlai >$destpath/$libname.la else __runcmd install -m 0644 $dotlai $destpath/$libname.la fi fi for name in $library_names; do files=`eval echo $name` for f in $files; do if [ ! -e "$f" ]; then if [ -n "$libtool" ]; then oefatal "oe_libinstall: $dir/$f not found." fi elif [ -L "$f" ]; then __runcmd cp -P "$f" $destpath/ elif [ ! -L "$f" ]; then libfile="$f" __runcmd install -m 0755 $libfile $destpath/ fi done done if [ -z "$libfile" ]; then if [ -n "$require_shared" ]; then oefatal "oe_libinstall: unable to locate shared library" fi elif [ -z "$libtool" ]; then # special case hack for non-libtool .so.#.#.# links baselibfile=`basename "$libfile"` if (echo $baselibfile | grep -qE '^lib.*\.so\.[0-9.]*$'); then sonamelink=`arm-angstrom-linux-gnueabi-readelf -d $libfile |grep 'Library soname:' |sed -e 's/.*\[\(.*\)\].*/\1/'` solink=`echo $baselibfile | sed -e 's/\.so\..*/.so/'` if [ -n "$sonamelink" -a x"$baselibfile" != x"$sonamelink" ]; then __runcmd ln -sf $baselibfile $destpath/$sonamelink fi __runcmd ln -sf $baselibfile $destpath/$solink fi fi __runcmd cd "$olddir" } do_strip_modules() { for p in spca5xx-dbg spca5xx spca5xx-doc spca5xx-dev spca5xx-locale; do if test -e /home/njgreenfield/gumstix/gumstix-oe/tmp/work/gumstix-custom-verdex-angstrom-linux-gnueabi/spca5xx-20060501-r0/install/$p/lib/modules; then modules="`find /home/njgreenfield/gumstix/gumstix-oe/tmp/work/gumstix-custom-verdex-angstrom-linux-gnueabi/spca5xx-20060501-r0/install/$p/lib/modules -name \*.ko`" if [ -n "$modules" ]; then for module in $modules ; do if ! [ -d "$module" ] ; then arm-angstrom-linux-gnueabi-strip -v -g $module fi done # NM="/home/njgreenfield/gumstix/gumstix-oe/tmp/cross/bin/arm-angstrom-linux-gnueabi-nm" OBJCOPY="/home/njgreenfield/gumstix/gumstix-oe/tmp/cross/bin/arm-angstrom-linux-gnueabi-objcopy" strip_module $modules fi fi done } do_install() { install -d /home/njgreenfield/gumstix/gumstix-oe/tmp/work/gumstix-custom-verdex-angstrom-linux-gnueabi/spca5xx-20060501-r0/image/lib/modules/2.6.21/kernel/drivers/usb/media install -m 0644 *.ko /home/njgreenfield/gumstix/gumstix-oe/tmp/work/gumstix-custom-verdex-angstrom-linux-gnueabi/spca5xx-20060501-r0/image/lib/modules/2.6.21/kernel/drivers/usb/media } oe_runmake() { if [ x"$MAKE" = x ]; then MAKE=make; fi oenote make ${PARALLEL_MAKE} -e MAKEFLAGS= "$@" make ${PARALLEL_MAKE} -e MAKEFLAGS= "$@" || die "oe_runmake failed" } oe_machinstall() { # Purpose: Install machine dependent files, if available # If not available, check if there is a default # If no default, just touch the destination # Example: # $1 $2 $3 $4 # oe_machinstall -m 0644 fstab /home/njgreenfield/gumstix/gumstix-oe/tmp/work/gumstix-custom-verdex-angstrom-linux-gnueabi/spca5xx-20060501-r0/image/etc/fstab # # TODO: Check argument number? # filename=`basename $3` dirname=`dirname $3` for o in `echo task_do_compile:local:gumstix-custom-verdex:angstrom:linux-gnueabi:arm:build-linux:fail-fast:pn-spca5xx | tr ':' ' '`; do if [ -e $dirname/$o/$filename ]; then oenote $dirname/$o/$filename present, installing to $4 install $1 $2 $dirname/$o/$filename $4 return fi done # oenote overrides specific file NOT present, trying default=$3... if [ -e $3 ]; then oenote $3 present, installing to $4 install $1 $2 $3 $4 else oenote $3 NOT present, touching empty $4 touch $4 fi } do_configure() { base_do_configure } ldconfig_postinst_fragment() { if [ x"$D" = "x" ]; then ldconfig fi } module_do_compile() { unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS oe_runmake KERNEL_PATH=/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/gumstix-custom-verdex-angstrom-linux-gnueabi/kernel \ KERNEL_SRC=/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/gumstix-custom-verdex-angstrom-linux-gnueabi/kernel \ KERNEL_VERSION=2.6.21 \ CC="arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=xscale" LD="arm-angstrom-linux-gnueabi-ld " \ ${MAKE_TARGETS} } MIRRORS() { ftp://ftp.debian.org/debian/pool/main http://snapshot.debian.net/archive/pool ftp://ftp.debian.org/debian/pool ftp://ftp.de.debian.org/debian/pool ftp://ftp.debian.org/debian/pool ftp://ftp.au.debian.org/debian/pool ftp://ftp.debian.org/debian/pool ftp://ftp.cl.debian.org/debian/pool ftp://ftp.debian.org/debian/pool ftp://ftp.hr.debian.org/debian/pool ftp://ftp.debian.org/debian/pool ftp://ftp.fi.debian.org/debian/pool ftp://ftp.debian.org/debian/pool ftp://ftp.hk.debian.org/debian/pool ftp://ftp.debian.org/debian/pool ftp://ftp.hu.debian.org/debian/pool ftp://ftp.debian.org/debian/pool ftp://ftp.ie.debian.org/debian/pool ftp://ftp.debian.org/debian/pool ftp://ftp.it.debian.org/debian/pool ftp://ftp.debian.org/debian/pool ftp://ftp.jp.debian.org/debian/pool ftp://ftp.debian.org/debian/pool ftp://ftp.no.debian.org/debian/pool ftp://ftp.debian.org/debian/pool ftp://ftp.pl.debian.org/debian/pool ftp://ftp.debian.org/debian/pool ftp://ftp.ro.debian.org/debian/pool ftp://ftp.debian.org/debian/pool ftp://ftp.si.debian.org/debian/pool ftp://ftp.debian.org/debian/pool ftp://ftp.es.debian.org/debian/pool ftp://ftp.debian.org/debian/pool ftp://ftp.se.debian.org/debian/pool ftp://ftp.debian.org/debian/pool ftp://ftp.tr.debian.org/debian/pool ftp://ftp.gnu.org/gnu ftp://mirrors.kernel.org/gnu ftp://ftp.gnu.org/gnu ftp://ftp.matrix.com.br/pub/gnu ftp://ftp.gnu.org/gnu ftp://ftp.cs.ubc.ca/mirror2/gnu ftp://ftp.gnu.org/gnu ftp://sunsite.ust.hk/pub/gnu ftp://ftp.gnu.org/gnu ftp://ftp.ayamura.org/pub/gnu http://kernel.org/ http://www.kernel.org/pub http://kernel.org/ ftp://ftp.us.kernel.org/pub http://kernel.org/ ftp://ftp.uk.kernel.org/pub http://kernel.org/ ftp://ftp.hk.kernel.org/pub http://kernel.org/ ftp://ftp.au.kernel.org/pub http://kernel.org/ ftp://ftp.jp.kernel.org/pub ftp://ftp.gnupg.org/gcrypt/ ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/ ftp://ftp.gnupg.org/gcrypt/ ftp://ftp.surfnet.nl/pub/security/gnupg/ ftp://ftp.gnupg.org/gcrypt/ http://gulus.USherbrooke.ca/pub/appl/GnuPG/ ftp://dante.ctan.org/tex-archive ftp://ftp.fu-berlin.de/tex/CTAN ftp://dante.ctan.org/tex-archive http://sunsite.sut.ac.jp/pub/archives/ctan/ ftp://dante.ctan.org/tex-archive http://ctan.unsw.edu.au/ ftp://ftp.gnutls.org/pub/gnutls ftp://ftp.gnutls.org/pub/gnutls/ ftp://ftp.gnutls.org/pub/gnutls ftp://ftp.gnupg.org/gcrypt/gnutls/ ftp://ftp.gnutls.org/pub/gnutls http://www.mirrors.wiretapped.net/security/network-security/gnutls/ ftp://ftp.gnutls.org/pub/gnutls ftp://ftp.mirrors.wiretapped.net/pub/security/network-security/gnutls/ ftp://ftp.gnutls.org/pub/gnutls http://josefsson.org/gnutls/releases/ http://ftp.info-zip.org/pub/infozip/src/ http://mirror.switch.ch/ftp/mirror/infozip/src/ http://ftp.info-zip.org/pub/infozip/src/ ftp://sunsite.icm.edu.pl/pub/unix/archiving/info-zip/src/ ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/ ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.tau.ac.il/pub/unix/admin/ ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.cert.dfn.de/pub/tools/admin/lsof/ ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/ ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.kaizo.org/pub/lsof/ ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.tu-darmstadt.de/pub/sysadmin/lsof/ ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.tux.org/pub/sites/vic.cc.purdue.edu/tools/unix/lsof/ ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://gd.tuwien.ac.at/utils/admin-tools/lsof/ ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://sunsite.ualberta.ca/pub/Mirror/lsof/ ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://the.wiretapped.net/pub/security/host-security/lsof/ http://www.apache.org/dist http://archive.apache.org/dist ftp://.*/.*/ http://www.angstrom-distribution.org/unstable/sources/ https?$://.*/.*/ http://www.angstrom-distribution.org/unstable/sources/ } do_compile() { unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS oe_runmake 'KERNELDIR=/home/njgreenfield/gumstix/gumstix-oe/tmp/staging/gumstix-custom-verdex-angstrom-linux-gnueabi/kernel' \ 'CC=arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=xscale' \ 'LD=arm-angstrom-linux-gnueabi-ld ' } base_do_compile() { if [ -e Makefile -o -e makefile ]; then oe_runmake || die "make failed" else oenote "nothing to compile" fi } oewarn() { echo "WARNING:" "$*" } oefatal() { echo "FATAL:" "$*" exit 1 } oedebug() { test $# -ge 2 || { echo "Usage: oedebug level \"message\"" exit 1 } test ${OEDEBUG:-0} -ge $1 && { shift echo "DEBUG:" $* } } do_package_write() { : } oe_soinstall() { # Purpose: Install shared library file and # create the necessary links # Example: # # oe_ # #oenote installing shared library $1 to $2 # libname=`basename $1` install -m 755 $1 $2/$libname sonamelink=`arm-angstrom-linux-gnueabi-readelf -d $1 |grep 'Library soname:' |sed -e 's/.*\[\(.*\)\].*/\1/'` solink=`echo $libname | sed -e 's/\.so\..*/.so/'` ln -sf $libname $2/$sonamelink ln -sf $libname $2/$solink } oenote() { echo "NOTE:" "$*" } package_update_index_ipk() { set -x ipkgarchs="all any noarch arm armv4 armv4t armv5e armv5te gumstix-custom-verdex" if [ ! -z "${DEPLOY_KEEP_PACKAGES}" ]; then return fi touch /home/njgreenfield/gumstix/gumstix-oe/tmp/deploy/glibc/ipk/Packages ipkg-make-index -r /home/njgreenfield/gumstix/gumstix-oe/tmp/deploy/glibc/ipk/Packages -p /home/njgreenfield/gumstix/gumstix-oe/tmp/deploy/glibc/ipk/Packages -l /home/njgreenfield/gumstix/gumstix-oe/tmp/deploy/glibc/ipk/Packages.filelist -m /home/njgreenfield/gumstix/gumstix-oe/tmp/deploy/glibc/ipk for arch in $ipkgarchs; do if [ -e /home/njgreenfield/gumstix/gumstix-oe/tmp/deploy/glibc/ipk/$arch/ ] ; then touch /home/njgreenfield/gumstix/gumstix-oe/tmp/deploy/glibc/ipk/$arch/Packages ipkg-make-index -r /home/njgreenfield/gumstix/gumstix-oe/tmp/deploy/glibc/ipk/$arch/Packages -p /home/njgreenfield/gumstix/gumstix-oe/tmp/deploy/glibc/ipk/$arch/Packages -l /home/njgreenfield/gumstix/gumstix-oe/tmp/deploy/glibc/ipk/$arch/Packages.filelist -m /home/njgreenfield/gumstix/gumstix-oe/tmp/deploy/glibc/ipk/$arch/ fi if [ -e /home/njgreenfield/gumstix/gumstix-oe/tmp/deploy/glibc/ipk/i686-$arch-sdk/ ] ; then touch /home/njgreenfield/gumstix/gumstix-oe/tmp/deploy/glibc/ipk/i686-$arch-sdk/Packages ipkg-make-index -r /home/njgreenfield/gumstix/gumstix-oe/tmp/deploy/glibc/ipk/i686-$arch-sdk/Packages -p /home/njgreenfield/gumstix/gumstix-oe/tmp/deploy/glibc/ipk/i686-$arch-sdk/Packages -l /home/njgreenfield/gumstix/gumstix-oe/tmp/deploy/glibc/ipk/i686-$arch-sdk/Packages.filelist -m /home/njgreenfield/gumstix/gumstix-oe/tmp/deploy/glibc/ipk/i686-$arch-sdk/ fi done } cd /home/njgreenfield/gumstix/gumstix-oe/tmp/work/gumstix-custom-verdex-angstrom-linux-gnueabi/spca5xx-20060501-r0/spca5xx-20060501 do_compile