Annotation of elwix/config/rc.elwix.mips_alfan2, 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.7.4.9 2013/05/22 15:28:43 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="mips"
        !            16: TARGET_ARCH="mips"
        !            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: ### Make U-boot image
        !           114: UB_COMPRESS="lzma"
        !           115: UB_OBJS="${BSDOBJ}/uboot"
        !           116: UB_KERNEL="${UB_OBJS}/kernel"
        !           117: # Must be same like into kernel config [ KERNLOADADDR=0x80050000 ]
        !           118: # if address variables are commented install2ub.sh automatic detect addresses
        !           119: #UB_LOADADDR=0x80002000
        !           120: #UB_ENTRYADDR=0x80002100
        !           121: 
        !           122: ### Cross
        !           123: CBUILD="${DEST}/cross_build.sh"
        !           124: CGBUILD="${DEST}/cross_gbuild.sh"
        !           125: CEXEC="${DEST}/cross_exec.sh"
        !           126: CENV="${DEST}/cross_env.sh"
        !           127: 
        !           128: CROSS_FT_ATH="${BSDTOOLS}/ath"
        !           129: CROSS_FT_IPW="${BSDTOOLS}/ipw"
        !           130: CROSS_FT_IWI="${BSDTOOLS}/iwi"
        !           131: CROSS_FT_MWL="${BSDTOOLS}/mwl"
        !           132: CROSS_FT_NET80211="${BSDTOOLS}/net80211"
        !           133: CROSS_FT_VIMAGE="${BSDTOOLS}/vimage"
        !           134: CROSS_FT_WTAP="${BSDTOOLS}/wtap"
        !           135: 
        !           136: CROSS_AXL="../gpl/axl"
        !           137: AXL_CFG="./configure --disable-py-axl --prefix=${WORLD}/usr/local --build=${TARGET_BUILD}"
        !           138: #AXL_LIB="${CROSS_AXL}/src/.libs/libaxl.so.*"
        !           139: #AXL_LIB_NS="${CROSS_AXL}/ns/.libs/libaxl-ns.so.*"
        !           140: #AXL_LIB_BABEL="${CROSS_AXL}/babel/.libs/libaxl-babel.so.*"
        !           141: 
        !           142: CROSS_ELWIX="../libelwix"
        !           143: ELWIX_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}"
        !           144: #ELWIX_LIB_ELWIX="${CROSS_ELWIX}/lib/libelwix.so"
        !           145: 
        !           146: CROSS_AITIO="../libaitio"
        !           147: AITIO_CFG="./configure --enable-aio --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}"
        !           148: #ELWIX_LIB_AITIO="${CROSS_AITIO}/lib/libaitio.so"
        !           149: 
        !           150: CROSS_AITCFG="../libaitcfg"
        !           151: AITCFG_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}"
        !           152: #ELWIX_LIB_AITCFG="${CROSS_AITCFG}/lib/libaitcfg.so"
        !           153: 
        !           154: CROSS_AITRPC="../libaitrpc"
        !           155: AITRPC_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}"
        !           156: #ELWIX_LIB_AITRPC="${CROSS_AITRPC}/lib/libaitrpc.so"
        !           157: 
        !           158: CROSS_AITSCHED="../libaitsched"
        !           159: AITSCHED_CFG="./configure --enable-aio --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}"
        !           160: #ELWIX_LIB_AITSCHED="${CROSS_AITSCHED}/lib/libaitsched.so"
        !           161: 
        !           162: CROSS_AITWWW="../libaitwww"
        !           163: AITWWW_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}"
        !           164: #ELWIX_LIB_AITWWW="${CROSS_AITWWW}/lib/libaitwww.so"
        !           165: 
        !           166: CROSS_AITPELCO="../libaitpelco"
        !           167: AITPELCO_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}"
        !           168: #ELWIX_LIB_AITPELCO="${CROSS_AITPELCO}/lib/libaitpelco.so"
        !           169: 
        !           170: CROSS_AITSYNC="../libaitsync"
        !           171: AITSYNC_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}"
        !           172: #ELWIX_LIB_AITSYNC="${CROSS_AITSYNC}/lib/libaitsync.so"
        !           173: 
        !           174: CROSS_AITCLI="../libaitcli"
        !           175: AITCLI_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}"
        !           176: #ELWIX_LIB_AITCLI="${CROSS_AITCLI}/lib/libaitcli.so"
        !           177: 
        !           178: CROSS_AITMQTT="../libaitmqtt"
        !           179: AITMQTT_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}"
        !           180: #ELWIX_LIB_AITMQTT="${CROSS_AITMQTT}/lib/libaitmqtt.so"
        !           181: 
        !           182: CROSS_EMBEDTOOLS="../embedtools"
        !           183: EMBEDTOOLS_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}"
        !           184: 
        !           185: CROSS_ANSH="../ansh"
        !           186: ANSH_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}"
        !           187: 
        !           188: CROSS_MQTT="../mqtt"
        !           189: MQTT_CFG="./configure --with-sqlite3dir=${WORLD}/usr/local --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}"
        !           190: 
        !           191: CROSS_WIFINATOR="../wifinator"
        !           192: WIFINATOR_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}"
        !           193: 
        !           194: #####
        !           195: [ -r ${CFGDIR}/rc.subr ] && . ${CFGDIR}/rc.subr
        !           196: #####

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