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

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.14! misho       6: # $Id: rc.elwix,v 1.1.1.1.2.13 2011/09/17 10:39:47 misho Exp $
1.1       misho       7: #
                      8: ELWIX_IS_CONFIGURED="YES"
                      9: 
1.1.1.1.2.14! misho      10: VERSION="1.4p1"
1.1       misho      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: ROMFS_IMG="elwix-firmware.sys"
1.1.1.1.2.5  misho      67: ROMFS_SIZE="100m"
1.1       misho      68: 
                     69: ### FS Image
                     70: FS="${DEST}/elwix.fs"
1.1.1.1.2.7  misho      71: FS_ETC="${CFGDIR}/etc/default"
1.1.1.1.2.6  misho      72: ELWIX_FS="${CFGDIR}/elwix_fs.conf"
1.1.1.1.2.7  misho      73: ELWIX_BSDSRC="${CFGDIR}/elwix_bsdsrc.conf"
1.1.1.1.2.8  misho      74: OS="ELWIX-${VERSION}_${TARGET_ARCH}_${BUILD_DATE}.tar.gz"
1.1       misho      75: 
                     76: ### Make OS Image
1.1.1.1.2.14! misho      77: IMGNAME="${REL}/ELWIX-${VERSION}_${TARGET_ARCH}"
        !            78: MD5CHK="${IMGNAME}.md5"
        !            79: SHA1CHK="${IMGNAME}.sha1"
        !            80: IMG="${IMGNAME}.img"
1.1.1.1.2.12  misho      81: IMG_SIZE=62400
1.1       misho      82: 
                     83: ### Cross
1.1.1.1.2.1  misho      84: CBUILD="${DEST}/cross_build.sh"
1.1.1.1.2.2  misho      85: CGBUILD="${DEST}/cross_gbuild.sh"
1.1.1.1.2.1  misho      86: 
1.1.1.1.2.3  misho      87: CROSS_FT_ATH="${BSDTOOLS}/ath"
                     88: CROSS_FT_IPW="${BSDTOOLS}/ipw"
                     89: CROSS_FT_IWI="${BSDTOOLS}/iwi"
                     90: CROSS_FT_MWL="${BSDTOOLS}/mwl"
                     91: CROSS_FT_NET80211="${BSDTOOLS}/net80211"
                     92: CROSS_FT_VIMAGE="${BSDTOOLS}/vimage"
                     93: 
1.1       misho      94: CROSS_AXL="../gpl/axl"
1.1.1.1.2.1  misho      95: AXL_CFG="./configure --prefix=${PKG}"
                     96: #AXL_LIB="${CROSS_AXL}/src/.libs/libaxl.so.*"
                     97: #AXL_LIB_NS="${CROSS_AXL}/ns/.libs/libaxl-ns.so.*"
                     98: #AXL_LIB_BABEL="${CROSS_AXL}/babel/.libs/libaxl-babel.so.*"
1.1       misho      99: 
                    100: CROSS_AITIO="../libaitio"
1.1.1.1.2.1  misho     101: AITIO_CFG="./configure --enable-aio --prefix=${PKG}"
                    102: #ELWIX_LIB_AITIO="${CROSS_AITIO}/lib/libaitio.so"
1.1       misho     103: 
                    104: CROSS_AITCRC="../libaitcrc"
1.1.1.1.2.1  misho     105: AITCRC_CFG="./configure --prefix=${PKG}"
                    106: #ELWIX_LIB_AITCRC="${CROSS_AITCRC}/lib/libaitcrc.so"
1.1       misho     107: 
                    108: CROSS_AITCFG="../libaitcfg"
1.1.1.1.2.1  misho     109: AITCFG_CFG="./configure --prefix=${PKG}"
                    110: #ELWIX_LIB_AITCFG="${CROSS_AITCFG}/lib/libaitcfg.so"
1.1       misho     111: 
                    112: CROSS_AITSESS="../libaitsess"
1.1.1.1.2.1  misho     113: AITSESS_CFG="./configure --prefix=${PKG}"
                    114: #ELWIX_LIB_AITSESS="${CROSS_AITSESS}/lib/libaitsess.so"
1.1       misho     115: 
                    116: CROSS_AITRPC="../libaitrpc"
1.1.1.1.2.1  misho     117: AITRPC_CFG="./configure --prefix=${PKG}"
                    118: #ELWIX_LIB_AITRPC="${CROSS_AITRPC}/lib/libaitrpc.so"
1.1       misho     119: 
1.1.1.1.2.13  misho     120: CROSS_AITSCHED="../libaitsched"
                    121: AITSCHED_CFG="./configure --prefix=${PKG}"
                    122: #ELWIX_LIB_AITSCHED="${CROSS_AITSCHED}/lib/libaitsched.so"
                    123: 
1.1       misho     124: CROSS_AITPELCO="../libaitpelco"
1.1.1.1.2.1  misho     125: AITPELCO_CFG="./configure --prefix=${PKG}"
                    126: #ELWIX_LIB_AITPELCO="${CROSS_AITPELCO}/lib/libaitpelco.so"
1.1       misho     127: 
                    128: CROSS_AITPWD="../libaitpwd"
1.1.1.1.2.1  misho     129: AITPWD_CFG="./configure --prefix=${PKG}"
                    130: #ELWIX_LIB_AITPWD="${CROSS_AITPWD}/lib/libaitpwd.so"
1.1       misho     131: 
                    132: CROSS_AITSYNC="../libaitsync"
1.1.1.1.2.1  misho     133: AITSYNC_CFG="./configure --prefix=${PKG}"
                    134: #ELWIX_LIB_AITSYNC="${CROSS_AITSYNC}/lib/libaitsync.so"
1.1       misho     135: 
                    136: CROSS_AITCLI="../libaitcli"
1.1.1.1.2.1  misho     137: AITCLI_CFG="./configure --prefix=${PKG}"
                    138: #ELWIX_LIB_AITCLI="${CROSS_AITCLI}/lib/libaitcli.so"
                    139: 
                    140: CROSS_EMBEDTOOLS="../embedtools"
                    141: EMBEDTOOLS_CFG="./configure --prefix=${PKG}"
1.1       misho     142: 
1.1.1.1.2.2  misho     143: CROSS_3TH="../embedaddon"
                    144: 
1.1       misho     145: #####
                    146: [ -r ${CFGDIR}/rc.subr ] && . ${CFGDIR}/rc.subr
                    147: #####

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