Annotation of elwix/config/rc.elwix, revision 1.1.1.1.2.4

1.1       misho       1: # ELWIX project setup
                      2: #
                      3: # (C) AITNET ltd - Sofia/Bulgaria <office@aitnet.org>
                      4: #    by Michael Pounov <misho@elwix.org>
                      5: #
1.1.1.1.2.4! misho       6: # $Id: rc.elwix,v 1.1.1.1.2.3 2011/07/20 14:28:34 misho Exp $
1.1       misho       7: #
                      8: ELWIX_IS_CONFIGURED="YES"
                      9: 
                     10: VERSION="1.4"
                     11: PLATFORM="elwix"
                     12: TIMEZONE="Europe/Sofia"
                     13: BUILD_DATE=`date "+%Y-%m-%d"`
                     14: 
                     15: TARGET="i386"
                     16: TARGET_ARCH="i386"
                     17: PARALLEL_BUILD=2
                     18: 
                     19: CURDIR=$(pwd)
                     20: CFGDIR="${CURDIR}/config"
                     21: 
                     22: PREDIR=".."
                     23: 
                     24: # Dont change TOPDIR!!!
                     25: TOPDIR="${CURDIR}/build"
                     26: #
                     27: 
                     28: REL="${TOPDIR}/release"
                     29: DEST="${TOPDIR}/destdir"
                     30: OBJS="${TOPDIR}/obj"
                     31: ADIR="${TOPDIR}/arch"
                     32: 
                     33: WORLD="${ADIR}/${TARGET_ARCH}/world"
                     34: KERN="${ADIR}/${TARGET_ARCH}/kernel"
1.1.1.1.2.1  misho      35: PKG="${ADIR}/${TARGET_ARCH}/pkg"
                     36: AIT="${ADIR}/${TARGET_ARCH}"
1.1       misho      37: BSDOBJ="${OBJS}/${TARGET_ARCH}"
                     38: BSDSRC="/usr/src"
1.1.1.1.2.3  misho      39: BSDTOOLS="${BSDSRC}/tools/tools"
1.1       misho      40: 
                     41: ### Kernel
                     42: BSDKERNCONF="${BSDSRC}/sys/${TARGET}/conf"
                     43: 
                     44: KERNEL="${KERN}/boot/kernel/kernel"
                     45: KERNCONF="ELWIX"
                     46: 
                     47: ### Rootfs
                     48: MKDIR="${ADIR}/${TARGET_ARCH}/elwix"
                     49: MKF="Makefile.elwix"
                     50: MKH="Makefile.inc"
                     51: ROOTFS_CONF="elwix_firmware.conf"
                     52: 
                     53: ROOTFS="${DEST}/rootfs"
                     54: ROOTFS_ETC="${CFGDIR}/etc/rootfs"
                     55: ELWIX_ROOTFS="${CFGDIR}/elwix_rootfs.conf"
                     56: 
                     57: ROOTFS_KERN="kernel.gz"
                     58: 
                     59: ROOTFS_IMG="rootfs.img"
                     60: ROOTFS_SIZE="5120k"
                     61: 
                     62: ### RomFS Firmware
                     63: ROMFS="${DEST}/romfs"
                     64: ROMFS_USR="${ROMFS}/usr"
1.1.1.1.2.4! misho      65: ELWIX_ROMFS="${CFGDIR}/elwix_romfs.conf"
1.1       misho      66: ELWIX_APPS="${TOPDIR}/elwix_apps.conf"
                     67: ROMFS_IMG="elwix-firmware.sys"
                     68: ROMFS_SIZE="56m"
                     69: 
                     70: ### FS Image
                     71: FS="${DEST}/elwix.fs"
                     72: OS="elwix_${VERSION}.tar.gz"
                     73: ELWIX_FS="${TOPDIR}/elwix_fs.conf"
                     74: 
                     75: ### Make OS Image
                     76: IMG="$REL/ELWIX_${VERSION}_64MB.img"
                     77: IMG_SIZE=84000
                     78: 
                     79: ### Cross
1.1.1.1.2.1  misho      80: CBUILD="${DEST}/cross_build.sh"
1.1.1.1.2.2  misho      81: CGBUILD="${DEST}/cross_gbuild.sh"
1.1.1.1.2.1  misho      82: 
1.1.1.1.2.3  misho      83: CROSS_FT_ATH="${BSDTOOLS}/ath"
                     84: CROSS_FT_IPW="${BSDTOOLS}/ipw"
                     85: CROSS_FT_IWI="${BSDTOOLS}/iwi"
                     86: CROSS_FT_MWL="${BSDTOOLS}/mwl"
                     87: CROSS_FT_NET80211="${BSDTOOLS}/net80211"
                     88: CROSS_FT_VIMAGE="${BSDTOOLS}/vimage"
                     89: 
1.1       misho      90: CROSS_AXL="../gpl/axl"
1.1.1.1.2.1  misho      91: AXL_CFG="./configure --prefix=${PKG}"
                     92: #AXL_LIB="${CROSS_AXL}/src/.libs/libaxl.so.*"
                     93: #AXL_LIB_NS="${CROSS_AXL}/ns/.libs/libaxl-ns.so.*"
                     94: #AXL_LIB_BABEL="${CROSS_AXL}/babel/.libs/libaxl-babel.so.*"
1.1       misho      95: 
                     96: CROSS_AITIO="../libaitio"
1.1.1.1.2.1  misho      97: AITIO_CFG="./configure --enable-aio --prefix=${PKG}"
                     98: #ELWIX_LIB_AITIO="${CROSS_AITIO}/lib/libaitio.so"
1.1       misho      99: 
                    100: CROSS_AITCRC="../libaitcrc"
1.1.1.1.2.1  misho     101: AITCRC_CFG="./configure --prefix=${PKG}"
                    102: #ELWIX_LIB_AITCRC="${CROSS_AITCRC}/lib/libaitcrc.so"
1.1       misho     103: 
                    104: CROSS_AITCFG="../libaitcfg"
1.1.1.1.2.1  misho     105: AITCFG_CFG="./configure --prefix=${PKG}"
                    106: #ELWIX_LIB_AITCFG="${CROSS_AITCFG}/lib/libaitcfg.so"
1.1       misho     107: 
                    108: CROSS_AITSESS="../libaitsess"
1.1.1.1.2.1  misho     109: AITSESS_CFG="./configure --prefix=${PKG}"
                    110: #ELWIX_LIB_AITSESS="${CROSS_AITSESS}/lib/libaitsess.so"
1.1       misho     111: 
                    112: CROSS_AITRPC="../libaitrpc"
1.1.1.1.2.1  misho     113: AITRPC_CFG="./configure --prefix=${PKG}"
                    114: #ELWIX_LIB_AITRPC="${CROSS_AITRPC}/lib/libaitrpc.so"
1.1       misho     115: 
                    116: CROSS_AITPELCO="../libaitpelco"
1.1.1.1.2.1  misho     117: AITPELCO_CFG="./configure --prefix=${PKG}"
                    118: #ELWIX_LIB_AITPELCO="${CROSS_AITPELCO}/lib/libaitpelco.so"
1.1       misho     119: 
                    120: CROSS_AITPWD="../libaitpwd"
1.1.1.1.2.1  misho     121: AITPWD_CFG="./configure --prefix=${PKG}"
                    122: #ELWIX_LIB_AITPWD="${CROSS_AITPWD}/lib/libaitpwd.so"
1.1       misho     123: 
                    124: CROSS_AITSYNC="../libaitsync"
1.1.1.1.2.1  misho     125: AITSYNC_CFG="./configure --prefix=${PKG}"
                    126: #ELWIX_LIB_AITSYNC="${CROSS_AITSYNC}/lib/libaitsync.so"
1.1       misho     127: 
                    128: CROSS_AITCLI="../libaitcli"
1.1.1.1.2.1  misho     129: AITCLI_CFG="./configure --prefix=${PKG}"
                    130: #ELWIX_LIB_AITCLI="${CROSS_AITCLI}/lib/libaitcli.so"
                    131: 
                    132: CROSS_EMBEDTOOLS="../embedtools"
                    133: EMBEDTOOLS_CFG="./configure --prefix=${PKG}"
1.1       misho     134: 
1.1.1.1.2.2  misho     135: CROSS_3TH="../embedaddon"
                    136: 
1.1       misho     137: #####
                    138: [ -r ${CFGDIR}/rc.subr ] && . ${CFGDIR}/rc.subr
                    139: #####

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>