--- elwix/build_tools.sh 2012/03/22 10:18:12 1.1.2.7 +++ elwix/build_tools.sh 2012/04/08 22:07:21 1.1.2.8 @@ -5,7 +5,7 @@ # (C) AITNET ltd - Sofia/Bulgaria # by Michael Pounov # -# $Id: build_tools.sh,v 1.1.2.7 2012/03/22 10:18:12 misho Exp $ +# $Id: build_tools.sh,v 1.1.2.8 2012/04/08 22:07:21 misho Exp $ # [ -r ./config/rc.elwix ] && . ./config/rc.elwix @@ -168,6 +168,18 @@ compile_fbsdtools() # cd - } +compile_files() +{ + cd files + env MAKEOBJDIRPREFIX=${BSDOBJ} make TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \ + clean DESTDIR=${WORLD} + env MAKEOBJDIRPREFIX=${BSDOBJ} make TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \ + DESTDIR=${WORLD} + env MAKEOBJDIRPREFIX=${BSDOBJ} make TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \ + install DESTDIR=${WORLD} + cd - +} + compile_tools() { echo "+++ Compile ELWIX Cross ..." @@ -291,6 +303,7 @@ fi if ! SnitVer ${WORLD}/usr/local/elwix.ver; then clean_tools compile_fbsdtools + compile_files compile_tools else echo "Skipped ELWIX tools build ..."