version 1.4.2.5, 2013/01/27 22:34:00
|
version 1.7.2.12, 2013/07/31 14:57:01
|
Line 7
|
Line 7
|
# |
# |
ELWIX_IS_CONFIGURED="YES" |
ELWIX_IS_CONFIGURED="YES" |
|
|
VERSION="1.7" | VERSION="1.9" |
PLATFORM="elwix" |
PLATFORM="elwix" |
TIMEZONE="Europe/Sofia" |
TIMEZONE="Europe/Sofia" |
BUILD_DATE=`date "+%Y-%m-%d"` |
BUILD_DATE=`date "+%Y-%m-%d"` |
Line 15 BUILD_DATE=`date "+%Y-%m-%d"`
|
Line 15 BUILD_DATE=`date "+%Y-%m-%d"`
|
TARGET="i386" |
TARGET="i386" |
TARGET_ARCH="i386" |
TARGET_ARCH="i386" |
TARGET_BUILD="${TARGET_ARCH}-${PLATFORM}-freebsd" |
TARGET_BUILD="${TARGET_ARCH}-${PLATFORM}-freebsd" |
PARALLEL_BUILD=2 | #PARALLEL_BUILD=2 |
| PARALLEL_BUILD=1 |
|
|
CURDIR=$(pwd) |
CURDIR=$(pwd) |
CFGDIR="${CURDIR}/config" |
CFGDIR="${CURDIR}/config" |
Line 47 BSDKERNCONF="${BSDSRC}/sys/${TARGET}/conf"
|
Line 48 BSDKERNCONF="${BSDSRC}/sys/${TARGET}/conf"
|
KERNDEVHINTS="${BSDKERNCONF}/GENERIC.hints" |
KERNDEVHINTS="${BSDKERNCONF}/GENERIC.hints" |
|
|
KERNEL="${KERN}/boot/kernel/kernel" |
KERNEL="${KERN}/boot/kernel/kernel" |
KERNCONF="ELWIX" | KERNCONF="ELWIX_${TARGET_ARCH}" |
| KERNHINT="ELWIX_${TARGET_ARCH}.hints" |
|
|
### Rootfs |
|
MKDIR="${ADIR}/${TARGET_ARCH}/elwix" |
|
MKF="Makefile.elwix" |
|
MKH="Makefile.inc" |
|
ROOTFS_CONF="elwix_firmware.conf" |
|
|
|
ROOTFS="${DEST}/rootfs" |
|
ROOTFS_ETC="${CFGDIR}/etc/rootfs" |
|
ELWIX_ROOTFS="${CFGDIR}/elwix_rootfs.conf" |
|
|
|
ROOTFS_KERN="kernel.gz" |
|
|
|
ROOTFS_IMG="rootfs.img" |
|
ROOTFS_SIZE="8000k" |
|
|
|
### RomFS Firmware |
### RomFS Firmware |
ROMFS="${DEST}/romfs" | BASEFS="${DEST}/base" |
ELWIX_ROMFS="${CFGDIR}/elwix_romfs.conf" | ELWIX_BASEFS="${CFGDIR}/elwix_base.conf" |
|
|
ROMFS_USR="${ROMFS}/usr" |
|
ROMFS_IMG="elwix-firmware.sys" |
|
#ROMFS_SIZE="38m" |
|
|
|
ROMFS_USR2="${ROMFS}/usr/local" |
ROMFS_USR2="${ROMFS}/usr/local" |
ROMFS_IMG2="elwix-firmware2.sys" |
ROMFS_IMG2="elwix-firmware2.sys" |
#ROMFS_SIZE2="40m" |
#ROMFS_SIZE2="40m" |
Line 80 ROMFS_IMG2="elwix-firmware2.sys"
|
Line 63 ROMFS_IMG2="elwix-firmware2.sys"
|
FS_ETC="${CFGDIR}/etc/default" |
FS_ETC="${CFGDIR}/etc/default" |
ELWIX_BSDSRC="${CFGDIR}/elwix_bsdsrc.conf" |
ELWIX_BSDSRC="${CFGDIR}/elwix_bsdsrc.conf" |
|
|
FS="${DEST}/elwix.fs" |
|
OS="ELWIX-${VERSION}_${TARGET_ARCH}_${BUILD_DATE}.tar.gz" |
OS="ELWIX-${VERSION}_${TARGET_ARCH}_${BUILD_DATE}.tar.gz" |
|
FS="${DEST}/elwix.fs" |
|
|
FS_LITE="${DEST}/elwix_lite.fs" | OS_128="ELWIX_128-${VERSION}_${TARGET_ARCH}_${BUILD_DATE}.tar.gz" |
OS_LITE="ELWIX_lite-${VERSION}_${TARGET_ARCH}_${BUILD_DATE}.tar.gz" | FS_128="${DEST}/elwix128.fs" |
|
|
FS_LITE128="${DEST}/elwix_lite128.fs" |
|
OS_LITE128="ELWIX_lite_128-${VERSION}_${TARGET_ARCH}_${BUILD_DATE}.tar.gz" |
|
|
|
### Make OS Image |
### Make OS Image |
IMG_SIZE=62592 |
IMG_SIZE=62592 |
IMG_SIZE128= | IMG_SIZE128=125100 |
|
|
IMGNAME="${REL}/ELWIX-${VERSION}_${TARGET_ARCH}" |
IMGNAME="${REL}/ELWIX-${VERSION}_${TARGET_ARCH}" |
MD5CHK="${IMGNAME}.md5" |
MD5CHK="${IMGNAME}.md5" |
SHA1CHK="${IMGNAME}.sha1" |
SHA1CHK="${IMGNAME}.sha1" |
IMG="${IMGNAME}.img" |
IMG="${IMGNAME}.img" |
|
|
IMGNAME_LITE="${REL}/ELWIX_lite-${VERSION}_${TARGET_ARCH}" |
|
MD5CHK_LITE="${IMGNAME_LITE}.md5" |
|
SHA1CHK_LITE="${IMGNAME_LITE}.sha1" |
|
IMG_LITE="${IMGNAME_LITE}.img" |
|
|
|
IMGNAME_LITE128="${REL}/ELWIX_lite_128-${VERSION}_${TARGET_ARCH}" |
|
MD5CHK_LITE128="${IMGNAME_LITE128}.md5" |
|
SHA1CHK_LITE128="${IMGNAME_LITE128}.sha1" |
|
IMG_LITE128="${IMGNAME_LITE128}.img" |
|
|
|
### Cross |
### Cross |
CBUILD="${DEST}/cross_build.sh" |
CBUILD="${DEST}/cross_build.sh" |
CGBUILD="${DEST}/cross_gbuild.sh" |
CGBUILD="${DEST}/cross_gbuild.sh" |
Line 129 AXL_CFG="./configure --disable-py-axl --prefix=${WORLD
|
Line 99 AXL_CFG="./configure --disable-py-axl --prefix=${WORLD
|
#AXL_LIB_BABEL="${CROSS_AXL}/babel/.libs/libaxl-babel.so.*" |
#AXL_LIB_BABEL="${CROSS_AXL}/babel/.libs/libaxl-babel.so.*" |
|
|
CROSS_ELWIX="../libelwix" |
CROSS_ELWIX="../libelwix" |
ELWIX_CFG="./configure --prefix=${WORLD}/usr/local" | ELWIX_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}" |
#ELWIX_LIB_ELWIX="${CROSS_ELWIX}/lib/libelwix.so" |
#ELWIX_LIB_ELWIX="${CROSS_ELWIX}/lib/libelwix.so" |
|
|
CROSS_AITIO="../libaitio" |
CROSS_AITIO="../libaitio" |
AITIO_CFG="./configure --enable-aio --prefix=${WORLD}/usr/local" | AITIO_CFG="./configure --enable-aio --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}" |
#ELWIX_LIB_AITIO="${CROSS_AITIO}/lib/libaitio.so" |
#ELWIX_LIB_AITIO="${CROSS_AITIO}/lib/libaitio.so" |
|
|
CROSS_AITCFG="../libaitcfg" |
CROSS_AITCFG="../libaitcfg" |
AITCFG_CFG="./configure --prefix=${WORLD}/usr/local" | AITCFG_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}" |
#ELWIX_LIB_AITCFG="${CROSS_AITCFG}/lib/libaitcfg.so" |
#ELWIX_LIB_AITCFG="${CROSS_AITCFG}/lib/libaitcfg.so" |
|
|
CROSS_AITSESS="../libaitsess" |
|
AITSESS_CFG="./configure --prefix=${WORLD}/usr/local" |
|
#ELWIX_LIB_AITSESS="${CROSS_AITSESS}/lib/libaitsess.so" |
|
|
|
CROSS_AITRPC="../libaitrpc" |
CROSS_AITRPC="../libaitrpc" |
AITRPC_CFG="./configure --prefix=${WORLD}/usr/local" | AITRPC_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}" |
#ELWIX_LIB_AITRPC="${CROSS_AITRPC}/lib/libaitrpc.so" |
#ELWIX_LIB_AITRPC="${CROSS_AITRPC}/lib/libaitrpc.so" |
|
|
CROSS_AITSCHED="../libaitsched" |
CROSS_AITSCHED="../libaitsched" |
AITSCHED_CFG="./configure --enable-aio --prefix=${WORLD}/usr/local" | AITSCHED_CFG="./configure --enable-aio --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}" |
#ELWIX_LIB_AITSCHED="${CROSS_AITSCHED}/lib/libaitsched.so" |
#ELWIX_LIB_AITSCHED="${CROSS_AITSCHED}/lib/libaitsched.so" |
|
|
CROSS_AITWWW="../libaitwww" |
CROSS_AITWWW="../libaitwww" |
AITWWW_CFG="./configure --prefix=${WORLD}/usr/local" | AITWWW_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}" |
#ELWIX_LIB_AITWWW="${CROSS_AITWWW}/lib/libaitwww.so" |
#ELWIX_LIB_AITWWW="${CROSS_AITWWW}/lib/libaitwww.so" |
|
|
CROSS_AITPELCO="../libaitpelco" |
CROSS_AITPELCO="../libaitpelco" |
AITPELCO_CFG="./configure --prefix=${WORLD}/usr/local" | AITPELCO_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}" |
#ELWIX_LIB_AITPELCO="${CROSS_AITPELCO}/lib/libaitpelco.so" |
#ELWIX_LIB_AITPELCO="${CROSS_AITPELCO}/lib/libaitpelco.so" |
|
|
CROSS_AITSYNC="../libaitsync" |
CROSS_AITSYNC="../libaitsync" |
AITSYNC_CFG="./configure --prefix=${WORLD}/usr/local" | AITSYNC_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}" |
#ELWIX_LIB_AITSYNC="${CROSS_AITSYNC}/lib/libaitsync.so" |
#ELWIX_LIB_AITSYNC="${CROSS_AITSYNC}/lib/libaitsync.so" |
|
|
CROSS_AITCLI="../libaitcli" |
CROSS_AITCLI="../libaitcli" |
AITCLI_CFG="./configure --prefix=${WORLD}/usr/local" | AITCLI_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}" |
#ELWIX_LIB_AITCLI="${CROSS_AITCLI}/lib/libaitcli.so" |
#ELWIX_LIB_AITCLI="${CROSS_AITCLI}/lib/libaitcli.so" |
|
|
CROSS_AITMQTT="../libaitmqtt" |
CROSS_AITMQTT="../libaitmqtt" |
AITMQTT_CFG="./configure --prefix=${WORLD}/usr/local" | AITMQTT_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}" |
#ELWIX_LIB_AITMQTT="${CROSS_AITMQTT}/lib/libaitmqtt.so" |
#ELWIX_LIB_AITMQTT="${CROSS_AITMQTT}/lib/libaitmqtt.so" |
|
|
CROSS_EMBEDTOOLS="../embedtools" |
CROSS_EMBEDTOOLS="../embedtools" |
EMBEDTOOLS_CFG="./configure --prefix=${WORLD}/usr/local" | EMBEDTOOLS_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}" |
|
|
CROSS_ANSH="../ansh" |
CROSS_ANSH="../ansh" |
ANSH_CFG="./configure --prefix=${WORLD}/usr/local" | ANSH_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}" |
|
|
CROSS_MQTT="../mqtt" |
CROSS_MQTT="../mqtt" |
MQTT_CFG="./configure --with-sqlite3dir=${WORLD}/usr --prefix=${WORLD}/usr/local" | MQTT_CFG="./configure --with-sqlite3dir=${WORLD}/usr/local --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}" |
| |
| CROSS_WIFINATOR="../wifinator" |
| WIFINATOR_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}" |
|
|
CROSS_3TH="../embedaddon" |
CROSS_3TH="../embedaddon" |
|
|