version 1.7, 2013/05/07 20:46:48
|
version 1.7.2.9, 2013/07/29 15:06:59
|
Line 7
|
Line 7
|
# |
# |
ELWIX_IS_CONFIGURED="YES" |
ELWIX_IS_CONFIGURED="YES" |
|
|
VERSION="1.8" | 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" |
ROMFS="${DEST}/romfs" |
ELWIX_ROMFS="${CFGDIR}/elwix_romfs.conf" | ELWIX_ROMFS="${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" |
|
OS_128="ELWIX_128-${VERSION}_${TARGET_ARCH}_${BUILD_DATE}.tar.gz" |
|
|
FS_LITE="${DEST}/elwix_lite.fs" |
|
OS_LITE="ELWIX_lite-${VERSION}_${TARGET_ARCH}_${BUILD_DATE}.tar.gz" |
|
|
|
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=125100 |
IMG_SIZE128=125100 |
Line 129 AXL_CFG="./configure --disable-py-axl --prefix=${WORLD
|
Line 106 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_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" |
|
|