version 1.4.2.5, 2013/01/27 22:34:00
|
version 1.7.4.5, 2013/05/15 16:29:23
|
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"` |
|
|
TARGET="i386" | TARGET="mips" |
TARGET_ARCH="i386" | TARGET_ARCH="mips" |
TARGET_BUILD="${TARGET_ARCH}-${PLATFORM}-freebsd" |
TARGET_BUILD="${TARGET_ARCH}-${PLATFORM}-freebsd" |
PARALLEL_BUILD=2 |
PARALLEL_BUILD=2 |
|
|
Line 47 BSDKERNCONF="${BSDSRC}/sys/${TARGET}/conf"
|
Line 47 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_AR724X" |
|
|
### Rootfs |
### Rootfs |
MKDIR="${ADIR}/${TARGET_ARCH}/elwix" |
MKDIR="${ADIR}/${TARGET_ARCH}/elwix" |
Line 91 OS_LITE128="ELWIX_lite_128-${VERSION}_${TARGET_ARCH}_$
|
Line 91 OS_LITE128="ELWIX_lite_128-${VERSION}_${TARGET_ARCH}_$
|
|
|
### 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" |
Line 108 MD5CHK_LITE128="${IMGNAME_LITE128}.md5"
|
Line 108 MD5CHK_LITE128="${IMGNAME_LITE128}.md5"
|
SHA1CHK_LITE128="${IMGNAME_LITE128}.sha1" |
SHA1CHK_LITE128="${IMGNAME_LITE128}.sha1" |
IMG_LITE128="${IMGNAME_LITE128}.img" |
IMG_LITE128="${IMGNAME_LITE128}.img" |
|
|
|
### Make U-boot image |
|
UB_COMPRESS="none" |
|
UB_OBJS="${BSDOBJ}/uboot" |
|
UB_KERNEL="${UB_OBJS}/kernel" |
|
# Must be same like into kernel config [ KERNLOADADDR=0x80050000 ] |
|
# if address variables are commented install2ub.sh automatic detect addresses |
|
#UB_LOADADDR=0x80002000 |
|
#UB_ENTRYADDR=0x80002100 |
|
|
### 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 138 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 --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}" |
|
|
CROSS_3TH="../embedaddon" |
CROSS_3TH="../embedaddon" |
|
|