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

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

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