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

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     ! misho       6: # $Id: rc.elwix,v 1.2.2.8 2011/11/01 19:37:03 misho Exp $
1.1       misho       7: #
                      8: ELWIX_IS_CONFIGURED="YES"
                      9: 
1.3     ! misho      10: VERSION="1.5p2"
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     ! misho      47: KERNCONF="ELWIX_NETMAP"
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"
                     62: ROOTFS_SIZE="5120k"
                     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"
                     96: 
1.1       misho      97: CROSS_AXL="../gpl/axl"
1.2       misho      98: AXL_CFG="./configure --prefix=${PKG}"
                     99: #AXL_LIB="${CROSS_AXL}/src/.libs/libaxl.so.*"
                    100: #AXL_LIB_NS="${CROSS_AXL}/ns/.libs/libaxl-ns.so.*"
                    101: #AXL_LIB_BABEL="${CROSS_AXL}/babel/.libs/libaxl-babel.so.*"
1.1       misho     102: 
                    103: CROSS_AITIO="../libaitio"
1.2       misho     104: AITIO_CFG="./configure --enable-aio --prefix=${PKG}"
                    105: #ELWIX_LIB_AITIO="${CROSS_AITIO}/lib/libaitio.so"
1.1       misho     106: 
                    107: CROSS_AITCRC="../libaitcrc"
1.2       misho     108: AITCRC_CFG="./configure --prefix=${PKG}"
                    109: #ELWIX_LIB_AITCRC="${CROSS_AITCRC}/lib/libaitcrc.so"
1.1       misho     110: 
                    111: CROSS_AITCFG="../libaitcfg"
1.2       misho     112: AITCFG_CFG="./configure --prefix=${PKG}"
                    113: #ELWIX_LIB_AITCFG="${CROSS_AITCFG}/lib/libaitcfg.so"
1.1       misho     114: 
                    115: CROSS_AITSESS="../libaitsess"
1.2       misho     116: AITSESS_CFG="./configure --prefix=${PKG}"
                    117: #ELWIX_LIB_AITSESS="${CROSS_AITSESS}/lib/libaitsess.so"
1.1       misho     118: 
                    119: CROSS_AITRPC="../libaitrpc"
1.2       misho     120: AITRPC_CFG="./configure --prefix=${PKG}"
                    121: #ELWIX_LIB_AITRPC="${CROSS_AITRPC}/lib/libaitrpc.so"
                    122: 
                    123: CROSS_AITSCHED="../libaitsched"
                    124: AITSCHED_CFG="./configure --prefix=${PKG}"
                    125: #ELWIX_LIB_AITSCHED="${CROSS_AITSCHED}/lib/libaitsched.so"
1.1       misho     126: 
                    127: CROSS_AITPELCO="../libaitpelco"
1.2       misho     128: AITPELCO_CFG="./configure --prefix=${PKG}"
                    129: #ELWIX_LIB_AITPELCO="${CROSS_AITPELCO}/lib/libaitpelco.so"
1.1       misho     130: 
                    131: CROSS_AITPWD="../libaitpwd"
1.2       misho     132: AITPWD_CFG="./configure --prefix=${PKG}"
                    133: #ELWIX_LIB_AITPWD="${CROSS_AITPWD}/lib/libaitpwd.so"
1.1       misho     134: 
                    135: CROSS_AITSYNC="../libaitsync"
1.2       misho     136: AITSYNC_CFG="./configure --prefix=${PKG}"
                    137: #ELWIX_LIB_AITSYNC="${CROSS_AITSYNC}/lib/libaitsync.so"
1.1       misho     138: 
                    139: CROSS_AITCLI="../libaitcli"
1.2       misho     140: AITCLI_CFG="./configure --prefix=${PKG}"
                    141: #ELWIX_LIB_AITCLI="${CROSS_AITCLI}/lib/libaitcli.so"
                    142: 
                    143: CROSS_EMBEDTOOLS="../embedtools"
                    144: EMBEDTOOLS_CFG="./configure --prefix=${PKG}"
                    145: 
                    146: CROSS_ANSH="../ansh"
                    147: ANSH_CFG="./configure --prefix=${PKG}"
                    148: 
                    149: CROSS_3TH="../embedaddon"
1.1       misho     150: 
                    151: #####
                    152: [ -r ${CFGDIR}/rc.subr ] && . ${CFGDIR}/rc.subr
                    153: #####

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