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

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.3.2.7 ! misho       6: # $Id: rc.elwix,v 1.3.2.6 2012/02/16 23:17:55 misho Exp $
1.1       misho       7: #
                      8: ELWIX_IS_CONFIGURED="YES"
                      9: 
1.3.2.1   misho      10: VERSION="1.6"
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"
1.3       misho      17: TARGET_BUILD="${TARGET_ARCH}-${PLATFORM}-freebsd"
1.1       misho      18: PARALLEL_BUILD=2
                     19: 
                     20: CURDIR=$(pwd)
                     21: CFGDIR="${CURDIR}/config"
                     22: 
                     23: PREDIR=".."
                     24: 
                     25: # Dont change TOPDIR!!!
                     26: TOPDIR="${CURDIR}/build"
                     27: #
                     28: 
                     29: REL="${TOPDIR}/release"
                     30: DEST="${TOPDIR}/destdir"
                     31: OBJS="${TOPDIR}/obj"
                     32: ADIR="${TOPDIR}/arch"
                     33: 
                     34: WORLD="${ADIR}/${TARGET_ARCH}/world"
                     35: KERN="${ADIR}/${TARGET_ARCH}/kernel"
1.2       misho      36: PKG="${ADIR}/${TARGET_ARCH}/pkg"
                     37: AIT="${ADIR}/${TARGET_ARCH}"
1.1       misho      38: BSDOBJ="${OBJS}/${TARGET_ARCH}"
1.3       misho      39: BSDSRC="/home/fbsd_work.src/src"
1.2       misho      40: BSDTOOLS="${BSDSRC}/tools/tools"
1.1       misho      41: 
                     42: ### Kernel
                     43: BSDKERNCONF="${BSDSRC}/sys/${TARGET}/conf"
1.3       misho      44: KERNDEVHINTS="${BSDKERNCONF}/GENERIC.hints"
1.1       misho      45: 
                     46: KERNEL="${KERN}/boot/kernel/kernel"
1.3.2.3   misho      47: KERNCONF="ELWIX"
1.1       misho      48: 
                     49: ### Rootfs
                     50: MKDIR="${ADIR}/${TARGET_ARCH}/elwix"
                     51: MKF="Makefile.elwix"
                     52: MKH="Makefile.inc"
                     53: ROOTFS_CONF="elwix_firmware.conf"
                     54: 
                     55: ROOTFS="${DEST}/rootfs"
                     56: ROOTFS_ETC="${CFGDIR}/etc/rootfs"
                     57: ELWIX_ROOTFS="${CFGDIR}/elwix_rootfs.conf"
                     58: 
                     59: ROOTFS_KERN="kernel.gz"
                     60: 
                     61: ROOTFS_IMG="rootfs.img"
1.3.2.6   misho      62: ROOTFS_SIZE="8192k"
1.1       misho      63: 
                     64: ### RomFS Firmware
                     65: ROMFS="${DEST}/romfs"
                     66: ROMFS_USR="${ROMFS}/usr"
1.2       misho      67: ELWIX_ROMFS="${CFGDIR}/elwix_romfs.conf"
1.1       misho      68: ROMFS_IMG="elwix-firmware.sys"
1.3       misho      69: ROMFS_SIZE="93m"
1.1       misho      70: 
                     71: ### FS Image
                     72: FS="${DEST}/elwix.fs"
1.2       misho      73: FS_ETC="${CFGDIR}/etc/default"
                     74: ELWIX_FS="${CFGDIR}/elwix_fs.conf"
                     75: ELWIX_BSDSRC="${CFGDIR}/elwix_bsdsrc.conf"
                     76: OS="ELWIX-${VERSION}_${TARGET_ARCH}_${BUILD_DATE}.tar.gz"
1.1       misho      77: 
                     78: ### Make OS Image
1.2       misho      79: IMGNAME="${REL}/ELWIX-${VERSION}_${TARGET_ARCH}"
                     80: MD5CHK="${IMGNAME}.md5"
                     81: SHA1CHK="${IMGNAME}.sha1"
                     82: IMG="${IMGNAME}.img"
                     83: IMG_SIZE=62592
1.1       misho      84: 
                     85: ### Cross
1.2       misho      86: CBUILD="${DEST}/cross_build.sh"
                     87: CGBUILD="${DEST}/cross_gbuild.sh"
1.3       misho      88: CENV="${DEST}/cross_env.sh"
1.2       misho      89: 
                     90: CROSS_FT_ATH="${BSDTOOLS}/ath"
                     91: CROSS_FT_IPW="${BSDTOOLS}/ipw"
                     92: CROSS_FT_IWI="${BSDTOOLS}/iwi"
                     93: CROSS_FT_MWL="${BSDTOOLS}/mwl"
                     94: CROSS_FT_NET80211="${BSDTOOLS}/net80211"
                     95: CROSS_FT_VIMAGE="${BSDTOOLS}/vimage"
1.3.2.5   misho      96: CROSS_FT_WTAP="${BSDTOOLS}/wtap"
1.2       misho      97: 
1.1       misho      98: CROSS_AXL="../gpl/axl"
1.3.2.7 ! misho      99: AXL_CFG="./configure --disable-py-axl --prefix=${WORLD}/usr/local --build=${TARGET_BUILD}"
1.2       misho     100: #AXL_LIB="${CROSS_AXL}/src/.libs/libaxl.so.*"
                    101: #AXL_LIB_NS="${CROSS_AXL}/ns/.libs/libaxl-ns.so.*"
                    102: #AXL_LIB_BABEL="${CROSS_AXL}/babel/.libs/libaxl-babel.so.*"
1.1       misho     103: 
                    104: CROSS_AITIO="../libaitio"
1.3.2.7 ! misho     105: AITIO_CFG="./configure --enable-aio --prefix=${WORLD}/usr/local"
1.2       misho     106: #ELWIX_LIB_AITIO="${CROSS_AITIO}/lib/libaitio.so"
1.1       misho     107: 
                    108: CROSS_AITCRC="../libaitcrc"
1.3.2.7 ! misho     109: AITCRC_CFG="./configure --prefix=${WORLD}/usr/local"
1.2       misho     110: #ELWIX_LIB_AITCRC="${CROSS_AITCRC}/lib/libaitcrc.so"
1.1       misho     111: 
                    112: CROSS_AITCFG="../libaitcfg"
1.3.2.7 ! misho     113: AITCFG_CFG="./configure --prefix=${WORLD}/usr/local"
1.2       misho     114: #ELWIX_LIB_AITCFG="${CROSS_AITCFG}/lib/libaitcfg.so"
1.1       misho     115: 
                    116: CROSS_AITSESS="../libaitsess"
1.3.2.7 ! misho     117: AITSESS_CFG="./configure --prefix=${WORLD}/usr/local"
1.2       misho     118: #ELWIX_LIB_AITSESS="${CROSS_AITSESS}/lib/libaitsess.so"
1.1       misho     119: 
                    120: CROSS_AITRPC="../libaitrpc"
1.3.2.7 ! misho     121: AITRPC_CFG="./configure --prefix=${WORLD}/usr/local"
1.2       misho     122: #ELWIX_LIB_AITRPC="${CROSS_AITRPC}/lib/libaitrpc.so"
                    123: 
                    124: CROSS_AITSCHED="../libaitsched"
1.3.2.7 ! misho     125: AITSCHED_CFG="./configure --prefix=${WORLD}/usr/local"
1.2       misho     126: #ELWIX_LIB_AITSCHED="${CROSS_AITSCHED}/lib/libaitsched.so"
1.1       misho     127: 
                    128: CROSS_AITPELCO="../libaitpelco"
1.3.2.7 ! misho     129: AITPELCO_CFG="./configure --prefix=${WORLD}/usr/local"
1.2       misho     130: #ELWIX_LIB_AITPELCO="${CROSS_AITPELCO}/lib/libaitpelco.so"
1.1       misho     131: 
                    132: CROSS_AITPWD="../libaitpwd"
1.3.2.7 ! misho     133: AITPWD_CFG="./configure --prefix=${WORLD}/usr/local"
1.2       misho     134: #ELWIX_LIB_AITPWD="${CROSS_AITPWD}/lib/libaitpwd.so"
1.1       misho     135: 
                    136: CROSS_AITSYNC="../libaitsync"
1.3.2.7 ! misho     137: AITSYNC_CFG="./configure --prefix=${WORLD}/usr/local"
1.2       misho     138: #ELWIX_LIB_AITSYNC="${CROSS_AITSYNC}/lib/libaitsync.so"
1.1       misho     139: 
                    140: CROSS_AITCLI="../libaitcli"
1.3.2.7 ! misho     141: AITCLI_CFG="./configure --prefix=${WORLD}/usr/local"
1.2       misho     142: #ELWIX_LIB_AITCLI="${CROSS_AITCLI}/lib/libaitcli.so"
                    143: 
1.3.2.2   misho     144: CROSS_AITMQTT="../libaitmqtt"
1.3.2.7 ! misho     145: AITMQTT_CFG="./configure --prefix=${WORLD}/usr/local"
1.3.2.2   misho     146: #ELWIX_LIB_AITMQTT="${CROSS_AITCLI}/lib/libaitmqtt.so"
                    147: 
1.2       misho     148: CROSS_EMBEDTOOLS="../embedtools"
1.3.2.7 ! misho     149: EMBEDTOOLS_CFG="./configure --prefix=${WORLD}/usr/local"
1.2       misho     150: 
                    151: CROSS_ANSH="../ansh"
1.3.2.7 ! misho     152: ANSH_CFG="./configure --prefix=${WORLD}/usr/local"
1.2       misho     153: 
                    154: CROSS_3TH="../embedaddon"
1.1       misho     155: 
                    156: #####
                    157: [ -r ${CFGDIR}/rc.subr ] && . ${CFGDIR}/rc.subr
                    158: #####

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