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

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.13! misho       6: # $Id: rc.elwix,v 1.3.2.12 2012/03/20 15:07:54 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.3.2.12  misho      41: PKGSRC="/home/pkgsrc"
                     42: PKGDIR="${WORLD}/elwix/pkg"
1.1       misho      43: 
                     44: ### Kernel
                     45: BSDKERNCONF="${BSDSRC}/sys/${TARGET}/conf"
1.3       misho      46: KERNDEVHINTS="${BSDKERNCONF}/GENERIC.hints"
1.1       misho      47: 
                     48: KERNEL="${KERN}/boot/kernel/kernel"
1.3.2.3   misho      49: KERNCONF="ELWIX"
1.1       misho      50: 
                     51: ### Rootfs
                     52: MKDIR="${ADIR}/${TARGET_ARCH}/elwix"
                     53: MKF="Makefile.elwix"
                     54: MKH="Makefile.inc"
                     55: ROOTFS_CONF="elwix_firmware.conf"
                     56: 
                     57: ROOTFS="${DEST}/rootfs"
                     58: ROOTFS_ETC="${CFGDIR}/etc/rootfs"
                     59: ELWIX_ROOTFS="${CFGDIR}/elwix_rootfs.conf"
                     60: 
                     61: ROOTFS_KERN="kernel.gz"
                     62: 
                     63: ROOTFS_IMG="rootfs.img"
1.3.2.10  misho      64: ROOTFS_SIZE="8000k"
1.1       misho      65: 
                     66: ### RomFS Firmware
                     67: ROMFS="${DEST}/romfs"
                     68: ROMFS_USR="${ROMFS}/usr"
1.2       misho      69: ELWIX_ROMFS="${CFGDIR}/elwix_romfs.conf"
1.1       misho      70: ROMFS_IMG="elwix-firmware.sys"
1.3.2.13! misho      71: ROMFS_SIZE="74m"
1.1       misho      72: 
                     73: ### FS Image
                     74: FS="${DEST}/elwix.fs"
1.2       misho      75: FS_ETC="${CFGDIR}/etc/default"
                     76: ELWIX_FS="${CFGDIR}/elwix_fs.conf"
                     77: ELWIX_BSDSRC="${CFGDIR}/elwix_bsdsrc.conf"
                     78: OS="ELWIX-${VERSION}_${TARGET_ARCH}_${BUILD_DATE}.tar.gz"
1.1       misho      79: 
                     80: ### Make OS Image
1.2       misho      81: IMGNAME="${REL}/ELWIX-${VERSION}_${TARGET_ARCH}"
                     82: MD5CHK="${IMGNAME}.md5"
                     83: SHA1CHK="${IMGNAME}.sha1"
                     84: IMG="${IMGNAME}.img"
                     85: IMG_SIZE=62592
1.1       misho      86: 
                     87: ### Cross
1.2       misho      88: CBUILD="${DEST}/cross_build.sh"
                     89: CGBUILD="${DEST}/cross_gbuild.sh"
1.3.2.12  misho      90: CEXEC="${DEST}/cross_exec.sh"
1.3       misho      91: CENV="${DEST}/cross_env.sh"
1.2       misho      92: 
                     93: CROSS_FT_ATH="${BSDTOOLS}/ath"
                     94: CROSS_FT_IPW="${BSDTOOLS}/ipw"
                     95: CROSS_FT_IWI="${BSDTOOLS}/iwi"
                     96: CROSS_FT_MWL="${BSDTOOLS}/mwl"
                     97: CROSS_FT_NET80211="${BSDTOOLS}/net80211"
                     98: CROSS_FT_VIMAGE="${BSDTOOLS}/vimage"
1.3.2.5   misho      99: CROSS_FT_WTAP="${BSDTOOLS}/wtap"
1.2       misho     100: 
1.1       misho     101: CROSS_AXL="../gpl/axl"
1.3.2.7   misho     102: AXL_CFG="./configure --disable-py-axl --prefix=${WORLD}/usr/local --build=${TARGET_BUILD}"
1.2       misho     103: #AXL_LIB="${CROSS_AXL}/src/.libs/libaxl.so.*"
                    104: #AXL_LIB_NS="${CROSS_AXL}/ns/.libs/libaxl-ns.so.*"
                    105: #AXL_LIB_BABEL="${CROSS_AXL}/babel/.libs/libaxl-babel.so.*"
1.1       misho     106: 
                    107: CROSS_AITIO="../libaitio"
1.3.2.7   misho     108: AITIO_CFG="./configure --enable-aio --prefix=${WORLD}/usr/local"
1.2       misho     109: #ELWIX_LIB_AITIO="${CROSS_AITIO}/lib/libaitio.so"
1.1       misho     110: 
                    111: CROSS_AITCRC="../libaitcrc"
1.3.2.7   misho     112: AITCRC_CFG="./configure --prefix=${WORLD}/usr/local"
1.2       misho     113: #ELWIX_LIB_AITCRC="${CROSS_AITCRC}/lib/libaitcrc.so"
1.1       misho     114: 
                    115: CROSS_AITCFG="../libaitcfg"
1.3.2.7   misho     116: AITCFG_CFG="./configure --prefix=${WORLD}/usr/local"
1.2       misho     117: #ELWIX_LIB_AITCFG="${CROSS_AITCFG}/lib/libaitcfg.so"
1.1       misho     118: 
                    119: CROSS_AITSESS="../libaitsess"
1.3.2.7   misho     120: AITSESS_CFG="./configure --prefix=${WORLD}/usr/local"
1.2       misho     121: #ELWIX_LIB_AITSESS="${CROSS_AITSESS}/lib/libaitsess.so"
1.1       misho     122: 
                    123: CROSS_AITRPC="../libaitrpc"
1.3.2.7   misho     124: AITRPC_CFG="./configure --prefix=${WORLD}/usr/local"
1.2       misho     125: #ELWIX_LIB_AITRPC="${CROSS_AITRPC}/lib/libaitrpc.so"
                    126: 
                    127: CROSS_AITSCHED="../libaitsched"
1.3.2.7   misho     128: AITSCHED_CFG="./configure --prefix=${WORLD}/usr/local"
1.2       misho     129: #ELWIX_LIB_AITSCHED="${CROSS_AITSCHED}/lib/libaitsched.so"
1.1       misho     130: 
1.3.2.11  misho     131: CROSS_AITWWW="../libaitwww"
                    132: AITWWW_CFG="./configure --prefix=${WORLD}/usr/local"
                    133: #ELWIX_LIB_AITWWW="${CROSS_AITWWW}/lib/libaitwww.so"
                    134: 
1.1       misho     135: CROSS_AITPELCO="../libaitpelco"
1.3.2.7   misho     136: AITPELCO_CFG="./configure --prefix=${WORLD}/usr/local"
1.2       misho     137: #ELWIX_LIB_AITPELCO="${CROSS_AITPELCO}/lib/libaitpelco.so"
1.1       misho     138: 
                    139: CROSS_AITPWD="../libaitpwd"
1.3.2.7   misho     140: AITPWD_CFG="./configure --prefix=${WORLD}/usr/local"
1.2       misho     141: #ELWIX_LIB_AITPWD="${CROSS_AITPWD}/lib/libaitpwd.so"
1.1       misho     142: 
                    143: CROSS_AITSYNC="../libaitsync"
1.3.2.7   misho     144: AITSYNC_CFG="./configure --prefix=${WORLD}/usr/local"
1.2       misho     145: #ELWIX_LIB_AITSYNC="${CROSS_AITSYNC}/lib/libaitsync.so"
1.1       misho     146: 
                    147: CROSS_AITCLI="../libaitcli"
1.3.2.7   misho     148: AITCLI_CFG="./configure --prefix=${WORLD}/usr/local"
1.2       misho     149: #ELWIX_LIB_AITCLI="${CROSS_AITCLI}/lib/libaitcli.so"
                    150: 
1.3.2.2   misho     151: CROSS_AITMQTT="../libaitmqtt"
1.3.2.7   misho     152: AITMQTT_CFG="./configure --prefix=${WORLD}/usr/local"
1.3.2.11  misho     153: #ELWIX_LIB_AITMQTT="${CROSS_AITMQTT}/lib/libaitmqtt.so"
1.3.2.2   misho     154: 
1.2       misho     155: CROSS_EMBEDTOOLS="../embedtools"
1.3.2.7   misho     156: EMBEDTOOLS_CFG="./configure --prefix=${WORLD}/usr/local"
1.2       misho     157: 
                    158: CROSS_ANSH="../ansh"
1.3.2.7   misho     159: ANSH_CFG="./configure --prefix=${WORLD}/usr/local"
1.2       misho     160: 
                    161: CROSS_3TH="../embedaddon"
1.1       misho     162: 
                    163: #####
                    164: [ -r ${CFGDIR}/rc.subr ] && . ${CFGDIR}/rc.subr
                    165: #####

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