--- elwix/config/Attic/rc.elwix 2012/03/20 15:07:54 1.3.2.12 +++ elwix/config/Attic/rc.elwix 2012/10/10 14:40:08 1.3.2.24 @@ -3,7 +3,7 @@ # (C) AITNET ltd - Sofia/Bulgaria # by Michael Pounov # -# $Id: rc.elwix,v 1.3.2.12 2012/03/20 15:07:54 misho Exp $ +# $Id: rc.elwix,v 1.3.2.24 2012/10/10 14:40:08 misho Exp $ # ELWIX_IS_CONFIGURED="YES" @@ -23,8 +23,10 @@ CFGDIR="${CURDIR}/config" PREDIR=".." # Dont change TOPDIR!!! -TOPDIR="${CURDIR}/build" +TOPDIR="${CURDIR}/build/${VERSION}" # +BSDSRC="/home/fbsd_work.src/src" +PKGSRC="/home/pkgsrc" REL="${TOPDIR}/release" DEST="${TOPDIR}/destdir" @@ -36,10 +38,9 @@ KERN="${ADIR}/${TARGET_ARCH}/kernel" PKG="${ADIR}/${TARGET_ARCH}/pkg" AIT="${ADIR}/${TARGET_ARCH}" BSDOBJ="${OBJS}/${TARGET_ARCH}" -BSDSRC="/home/fbsd_work.src/src" BSDTOOLS="${BSDSRC}/tools/tools" -PKGSRC="/home/pkgsrc" PKGDIR="${WORLD}/elwix/pkg" +CROSSTOOLDIR="${BSDOBJ}/${BSDSRC}/tmp" ### Kernel BSDKERNCONF="${BSDSRC}/sys/${TARGET}/conf" @@ -61,16 +62,22 @@ ELWIX_ROOTFS="${CFGDIR}/elwix_rootfs.conf" ROOTFS_KERN="kernel.gz" ROOTFS_IMG="rootfs.img" -ROOTFS_SIZE="8000k" +ROOTFS_SIZE="8400k" ### RomFS Firmware ROMFS="${DEST}/romfs" -ROMFS_USR="${ROMFS}/usr" ELWIX_ROMFS="${CFGDIR}/elwix_romfs.conf" + +ROMFS_USR="${ROMFS}/usr" ROMFS_IMG="elwix-firmware.sys" -ROMFS_SIZE="73m" +ROMFS_SIZE="38m" +ROMFS_USR2="${ROMFS}/usr/local" +ROMFS_IMG2="elwix-firmware2.sys" +ROMFS_SIZE2="40m" + ### FS Image +BUILD_FRMIMG="YES" FS="${DEST}/elwix.fs" FS_ETC="${CFGDIR}/etc/default" ELWIX_FS="${CFGDIR}/elwix_fs.conf" @@ -125,7 +132,7 @@ AITRPC_CFG="./configure --prefix=${WORLD}/usr/local" #ELWIX_LIB_AITRPC="${CROSS_AITRPC}/lib/libaitrpc.so" CROSS_AITSCHED="../libaitsched" -AITSCHED_CFG="./configure --prefix=${WORLD}/usr/local" +AITSCHED_CFG="./configure --enable-aio --prefix=${WORLD}/usr/local" #ELWIX_LIB_AITSCHED="${CROSS_AITSCHED}/lib/libaitsched.so" CROSS_AITWWW="../libaitwww" @@ -136,10 +143,6 @@ CROSS_AITPELCO="../libaitpelco" AITPELCO_CFG="./configure --prefix=${WORLD}/usr/local" #ELWIX_LIB_AITPELCO="${CROSS_AITPELCO}/lib/libaitpelco.so" -CROSS_AITPWD="../libaitpwd" -AITPWD_CFG="./configure --prefix=${WORLD}/usr/local" -#ELWIX_LIB_AITPWD="${CROSS_AITPWD}/lib/libaitpwd.so" - CROSS_AITSYNC="../libaitsync" AITSYNC_CFG="./configure --prefix=${WORLD}/usr/local" #ELWIX_LIB_AITSYNC="${CROSS_AITSYNC}/lib/libaitsync.so" @@ -157,6 +160,9 @@ EMBEDTOOLS_CFG="./configure --prefix=${WORLD}/usr/loca CROSS_ANSH="../ansh" ANSH_CFG="./configure --prefix=${WORLD}/usr/local" + +CROSS_MQTT="../mqtt" +MQTT_CFG="./configure --prefix=${WORLD}/usr/local" CROSS_3TH="../embedaddon"