Annotation of elwix/config/rc.elwix.i386, revision 1.1.2.1

1.1.2.1 ! misho       1: # ELWIX project setup
        !             2: #
        !             3: # (C) AITNET ltd - Sofia/Bulgaria <office@aitnet.org>
        !             4: #    by Michael Pounov <misho@elwix.org>
        !             5: #
        !             6: # $Id: rc.elwix,v 1.10.2.3 2014/01/07 09:27:55 misho Exp $
        !             7: #
        !             8: ELWIX_IS_CONFIGURED="YES"
        !             9: 
        !            10: VERSION="2.2"
        !            11: PLATFORM="elwix"
        !            12: TIMEZONE="Europe/Sofia"
        !            13: BUILD_DATE=`date "+%Y-%m-%d"`
        !            14: 
        !            15: TARGET="i386"
        !            16: TARGET_ARCH="i386"
        !            17: TARGET_BUILD="${TARGET_ARCH}-${PLATFORM}-freebsd"
        !            18: PARALLEL_BUILD="-j2"
        !            19: 
        !            20: CURDIR=$(pwd)
        !            21: CFGDIR="${CURDIR}/config"
        !            22: 
        !            23: SRCCONF="${CFGDIR}/src.conf"
        !            24: 
        !            25: PREDIR=".."
        !            26: 
        !            27: # Dont change TOPDIR!!!
        !            28: TOPDIR="${CURDIR}/build/${VERSION}"
        !            29: #
        !            30: BSDSRC="/home/fbsd_work.src/src"
        !            31: PKGSRC="/home/pkgsrc"
        !            32: ADDSRC="/home/misho/work/embedaddon"
        !            33: 
        !            34: REL="${TOPDIR}/release"
        !            35: DEST="${TOPDIR}/destdir"
        !            36: OBJS="${TOPDIR}/obj"
        !            37: ADIR="${TOPDIR}/arch"
        !            38: 
        !            39: WORLD="${ADIR}/${TARGET_ARCH}/world"
        !            40: KERN="${ADIR}/${TARGET_ARCH}/kernel"
        !            41: KERN_ROOTFS="${ADIR}/${TARGET_ARCH}/kernel.rootfs"
        !            42: PKG="${ADIR}/${TARGET_ARCH}/pkg"
        !            43: AIT="${ADIR}/${TARGET_ARCH}"
        !            44: BSDOBJ="${OBJS}/${TARGET_ARCH}"
        !            45: BSDTOOLS="${BSDSRC}/tools/tools"
        !            46: PKGDIR="${WORLD}/elwix/pkg"
        !            47: CROSSTOOLDIR="${BSDOBJ}/${BSDSRC}/tmp"
        !            48: 
        !            49: ### Kernel
        !            50: BSDKERNCONF="${BSDSRC}/sys/${TARGET}/conf"
        !            51: KERNDEVHINTS="${BSDKERNCONF}/GENERIC.hints"
        !            52: 
        !            53: KERNHINT="ELWIX_${TARGET_ARCH}.hints"
        !            54: 
        !            55: KERNEL="${KERN}/boot/kernel/kernel"
        !            56: KERNCONF="ELWIX_${TARGET_ARCH}"
        !            57: 
        !            58: KERNEL_ROOTFS="${KERN_ROOTFS}/boot/kernel/kernel"
        !            59: KERNCONF_ROOTFS="ELWIX_${TARGET_ARCH}_ROOTFS"
        !            60: 
        !            61: ### Rootfs
        !            62: ROOTFS_MKDIR="${ADIR}/${TARGET_ARCH}/elwix"
        !            63: ROOTFS_CONF="elwix_firmware.conf"
        !            64: 
        !            65: ROOTFS="${DEST}/rootfs"
        !            66: ROOTFS_ETC="${CFGDIR}/etc/rootfs"
        !            67: ELWIX_ROOTFS="${CFGDIR}/elwix_rootfs.conf"
        !            68: 
        !            69: ROOTFS_KERN="kernel_rootfs.gz"
        !            70: 
        !            71: ROOTFS_IMG="rootfs.img"
        !            72: ROOTFS_SIZE="9000k"
        !            73: 
        !            74: ### tools Firmware
        !            75: LOCALFS_IMG="elwix-pkg.frm"
        !            76: 
        !            77: ### 3th party
        !            78: ROMFS_USR2="${DEST}/romfs.pkg"
        !            79: ROMFS_IMG2="elwix-firmware2.sys"
        !            80: #ROMFS_SIZE2="40m"
        !            81: 
        !            82: ### RomFS Firmware
        !            83: ROMFS="${DEST}/romfs"
        !            84: ELWIX_ROMFS="${CFGDIR}/elwix_romfs.conf"
        !            85: 
        !            86: ROMFS_USR="${ROMFS}/usr"
        !            87: ROMFS_IMG="elwix-firmware.sys"
        !            88: #ROMFS_SIZE="38m"
        !            89: 
        !            90: ### Base Firmware
        !            91: BASEFS="${DEST}/base"
        !            92: ELWIX_BASEFS="${CFGDIR}/elwix_base.conf"
        !            93: 
        !            94: BASE_FS="${DEST}/base.fs"
        !            95: BASE_ETC="${CFGDIR}/etc/default"
        !            96: BASE_OS="ELWIX-${VERSION}_base_64mb_${TARGET_ARCH}_${BUILD_DATE}.tar.gz"
        !            97: 
        !            98: ### FS Image
        !            99: FS="${DEST}/elwix.fs"
        !           100: FS_ETC="${CFGDIR}/etc/default"
        !           101: OS="ELWIX-${VERSION}_64mb_${TARGET_ARCH}_${BUILD_DATE}.tar.gz"
        !           102: 
        !           103: FS_EXT="${DEST}/elwix_ext.fs"
        !           104: FS_EXT_ETC="${CFGDIR}/etc/default"
        !           105: OS_EXT="ELWIX-${VERSION}_ext_128mb_${TARGET_ARCH}_${BUILD_DATE}.tar.gz"
        !           106: 
        !           107: ### Make OS Image
        !           108: IMG_SIZE=62592
        !           109: IMG_SIZE128=125100
        !           110: 
        !           111: IMGNAME="${REL}/ELWIX-${VERSION}_${TARGET_ARCH}"
        !           112: 
        !           113: ### Cross
        !           114: CBUILD="${DEST}/cross_build.sh"
        !           115: CGBUILD="${DEST}/cross_gbuild.sh"
        !           116: CEXEC="${DEST}/cross_exec.sh"
        !           117: CENV="${DEST}/cross_env.sh"
        !           118: 
        !           119: CROSS_FT_ATH="${BSDTOOLS}/ath"
        !           120: CROSS_FT_IPW="${BSDTOOLS}/ipw"
        !           121: CROSS_FT_IWI="${BSDTOOLS}/iwi"
        !           122: CROSS_FT_MWL="${BSDTOOLS}/mwl"
        !           123: CROSS_FT_NET80211="${BSDTOOLS}/net80211"
        !           124: CROSS_FT_VIMAGE="${BSDTOOLS}/vimage"
        !           125: CROSS_FT_WTAP="${BSDTOOLS}/wtap"
        !           126: 
        !           127: CROSS_AXL="../gpl/axl"
        !           128: AXL_CFG="./configure --disable-py-axl --prefix=${WORLD}/usr/local --build=${TARGET_BUILD}"
        !           129: #AXL_LIB="${CROSS_AXL}/src/.libs/libaxl.so.*"
        !           130: #AXL_LIB_NS="${CROSS_AXL}/ns/.libs/libaxl-ns.so.*"
        !           131: #AXL_LIB_BABEL="${CROSS_AXL}/babel/.libs/libaxl-babel.so.*"
        !           132: 
        !           133: CROSS_ELWIX="../libelwix"
        !           134: ELWIX_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}"
        !           135: #ELWIX_LIB_ELWIX="${CROSS_ELWIX}/lib/libelwix.so"
        !           136: 
        !           137: CROSS_AITIO="../libaitio"
        !           138: AITIO_CFG="./configure --enable-aio --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}"
        !           139: #ELWIX_LIB_AITIO="${CROSS_AITIO}/lib/libaitio.so"
        !           140: 
        !           141: CROSS_AITCFG="../libaitcfg"
        !           142: AITCFG_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}"
        !           143: #ELWIX_LIB_AITCFG="${CROSS_AITCFG}/lib/libaitcfg.so"
        !           144: 
        !           145: CROSS_AITRPC="../libaitrpc"
        !           146: AITRPC_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}"
        !           147: #ELWIX_LIB_AITRPC="${CROSS_AITRPC}/lib/libaitrpc.so"
        !           148: 
        !           149: CROSS_AITSCHED="../libaitsched"
        !           150: AITSCHED_CFG="./configure --enable-aio --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}"
        !           151: #ELWIX_LIB_AITSCHED="${CROSS_AITSCHED}/lib/libaitsched.so"
        !           152: 
        !           153: CROSS_AITWWW="../libaitwww"
        !           154: AITWWW_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}"
        !           155: #ELWIX_LIB_AITWWW="${CROSS_AITWWW}/lib/libaitwww.so"
        !           156: 
        !           157: CROSS_AITPELCO="../libaitpelco"
        !           158: AITPELCO_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}"
        !           159: #ELWIX_LIB_AITPELCO="${CROSS_AITPELCO}/lib/libaitpelco.so"
        !           160: 
        !           161: CROSS_AITSYNC="../libaitsync"
        !           162: AITSYNC_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}"
        !           163: #ELWIX_LIB_AITSYNC="${CROSS_AITSYNC}/lib/libaitsync.so"
        !           164: 
        !           165: CROSS_AITCLI="../libaitcli"
        !           166: AITCLI_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}"
        !           167: #ELWIX_LIB_AITCLI="${CROSS_AITCLI}/lib/libaitcli.so"
        !           168: 
        !           169: CROSS_AITMQTT="../libaitmqtt"
        !           170: AITMQTT_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}"
        !           171: #ELWIX_LIB_AITMQTT="${CROSS_AITMQTT}/lib/libaitmqtt.so"
        !           172: 
        !           173: CROSS_EMBEDTOOLS="../embedtools"
        !           174: EMBEDTOOLS_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}"
        !           175: 
        !           176: CROSS_ANSH="../ansh"
        !           177: ANSH_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}"
        !           178: 
        !           179: CROSS_MQTT="../mqtt"
        !           180: MQTT_CFG="./configure --with-sqlite3dir=${WORLD}/usr/local --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}"
        !           181: 
        !           182: CROSS_WIFINATOR="../wifinator"
        !           183: WIFINATOR_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}"
        !           184: 
        !           185: #####
        !           186: [ -r ${CFGDIR}/rc.subr ] && . ${CFGDIR}/rc.subr
        !           187: #####

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