version 1.2.2.8, 2011/11/01 19:37:03
|
version 1.4.2.5, 2013/01/27 22:34:00
|
Line 7
|
Line 7
|
# |
# |
ELWIX_IS_CONFIGURED="YES" |
ELWIX_IS_CONFIGURED="YES" |
|
|
VERSION="1.5p2" | VERSION="1.7" |
PLATFORM="elwix" |
PLATFORM="elwix" |
TIMEZONE="Europe/Sofia" |
TIMEZONE="Europe/Sofia" |
BUILD_DATE=`date "+%Y-%m-%d"` |
BUILD_DATE=`date "+%Y-%m-%d"` |
Line 23 CFGDIR="${CURDIR}/config"
|
Line 23 CFGDIR="${CURDIR}/config"
|
PREDIR=".." |
PREDIR=".." |
|
|
# Dont change TOPDIR!!! |
# Dont change TOPDIR!!! |
TOPDIR="${CURDIR}/build" | TOPDIR="${CURDIR}/build/${VERSION}" |
# |
# |
|
BSDSRC="/home/fbsd_work.src/src" |
|
PKGSRC="/home/pkgsrc" |
|
|
REL="${TOPDIR}/release" |
REL="${TOPDIR}/release" |
DEST="${TOPDIR}/destdir" |
DEST="${TOPDIR}/destdir" |
Line 36 KERN="${ADIR}/${TARGET_ARCH}/kernel"
|
Line 38 KERN="${ADIR}/${TARGET_ARCH}/kernel"
|
PKG="${ADIR}/${TARGET_ARCH}/pkg" |
PKG="${ADIR}/${TARGET_ARCH}/pkg" |
AIT="${ADIR}/${TARGET_ARCH}" |
AIT="${ADIR}/${TARGET_ARCH}" |
BSDOBJ="${OBJS}/${TARGET_ARCH}" |
BSDOBJ="${OBJS}/${TARGET_ARCH}" |
BSDSRC="/home/fbsd_work.src/src" |
|
BSDTOOLS="${BSDSRC}/tools/tools" |
BSDTOOLS="${BSDSRC}/tools/tools" |
|
PKGDIR="${WORLD}/elwix/pkg" |
|
CROSSTOOLDIR="${BSDOBJ}/${BSDSRC}/tmp" |
|
|
### Kernel |
### Kernel |
BSDKERNCONF="${BSDSRC}/sys/${TARGET}/conf" |
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_NETMAP" | KERNCONF="ELWIX" |
|
|
### Rootfs |
### Rootfs |
MKDIR="${ADIR}/${TARGET_ARCH}/elwix" |
MKDIR="${ADIR}/${TARGET_ARCH}/elwix" |
Line 59 ELWIX_ROOTFS="${CFGDIR}/elwix_rootfs.conf"
|
Line 62 ELWIX_ROOTFS="${CFGDIR}/elwix_rootfs.conf"
|
ROOTFS_KERN="kernel.gz" |
ROOTFS_KERN="kernel.gz" |
|
|
ROOTFS_IMG="rootfs.img" |
ROOTFS_IMG="rootfs.img" |
ROOTFS_SIZE="5120k" | ROOTFS_SIZE="8000k" |
|
|
### RomFS Firmware |
### RomFS Firmware |
ROMFS="${DEST}/romfs" |
ROMFS="${DEST}/romfs" |
ROMFS_USR="${ROMFS}/usr" |
|
ELWIX_ROMFS="${CFGDIR}/elwix_romfs.conf" |
ELWIX_ROMFS="${CFGDIR}/elwix_romfs.conf" |
|
|
|
ROMFS_USR="${ROMFS}/usr" |
ROMFS_IMG="elwix-firmware.sys" |
ROMFS_IMG="elwix-firmware.sys" |
ROMFS_SIZE="93m" | #ROMFS_SIZE="38m" |
|
|
|
ROMFS_USR2="${ROMFS}/usr/local" |
|
ROMFS_IMG2="elwix-firmware2.sys" |
|
#ROMFS_SIZE2="40m" |
|
|
### FS Image |
### FS Image |
FS="${DEST}/elwix.fs" |
|
FS_ETC="${CFGDIR}/etc/default" |
FS_ETC="${CFGDIR}/etc/default" |
ELWIX_FS="${CFGDIR}/elwix_fs.conf" |
|
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_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_SIZE128= |
|
|
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" |
IMG_SIZE=62592 |
|
|
|
|
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" |
|
CEXEC="${DEST}/cross_exec.sh" |
CENV="${DEST}/cross_env.sh" |
CENV="${DEST}/cross_env.sh" |
|
|
CROSS_FT_ATH="${BSDTOOLS}/ath" |
CROSS_FT_ATH="${BSDTOOLS}/ath" |
Line 93 CROSS_FT_IWI="${BSDTOOLS}/iwi"
|
Line 120 CROSS_FT_IWI="${BSDTOOLS}/iwi"
|
CROSS_FT_MWL="${BSDTOOLS}/mwl" |
CROSS_FT_MWL="${BSDTOOLS}/mwl" |
CROSS_FT_NET80211="${BSDTOOLS}/net80211" |
CROSS_FT_NET80211="${BSDTOOLS}/net80211" |
CROSS_FT_VIMAGE="${BSDTOOLS}/vimage" |
CROSS_FT_VIMAGE="${BSDTOOLS}/vimage" |
|
CROSS_FT_WTAP="${BSDTOOLS}/wtap" |
|
|
CROSS_AXL="../gpl/axl" |
CROSS_AXL="../gpl/axl" |
AXL_CFG="./configure --prefix=${PKG}" | AXL_CFG="./configure --disable-py-axl --prefix=${WORLD}/usr/local --build=${TARGET_BUILD}" |
#AXL_LIB="${CROSS_AXL}/src/.libs/libaxl.so.*" |
#AXL_LIB="${CROSS_AXL}/src/.libs/libaxl.so.*" |
#AXL_LIB_NS="${CROSS_AXL}/ns/.libs/libaxl-ns.so.*" |
#AXL_LIB_NS="${CROSS_AXL}/ns/.libs/libaxl-ns.so.*" |
#AXL_LIB_BABEL="${CROSS_AXL}/babel/.libs/libaxl-babel.so.*" |
#AXL_LIB_BABEL="${CROSS_AXL}/babel/.libs/libaxl-babel.so.*" |
|
|
|
CROSS_ELWIX="../libelwix" |
|
ELWIX_CFG="./configure --prefix=${WORLD}/usr/local" |
|
#ELWIX_LIB_ELWIX="${CROSS_ELWIX}/lib/libelwix.so" |
|
|
CROSS_AITIO="../libaitio" |
CROSS_AITIO="../libaitio" |
AITIO_CFG="./configure --enable-aio --prefix=${PKG}" | AITIO_CFG="./configure --enable-aio --prefix=${WORLD}/usr/local" |
#ELWIX_LIB_AITIO="${CROSS_AITIO}/lib/libaitio.so" |
#ELWIX_LIB_AITIO="${CROSS_AITIO}/lib/libaitio.so" |
|
|
CROSS_AITCRC="../libaitcrc" |
|
AITCRC_CFG="./configure --prefix=${PKG}" |
|
#ELWIX_LIB_AITCRC="${CROSS_AITCRC}/lib/libaitcrc.so" |
|
|
|
CROSS_AITCFG="../libaitcfg" |
CROSS_AITCFG="../libaitcfg" |
AITCFG_CFG="./configure --prefix=${PKG}" | AITCFG_CFG="./configure --prefix=${WORLD}/usr/local" |
#ELWIX_LIB_AITCFG="${CROSS_AITCFG}/lib/libaitcfg.so" |
#ELWIX_LIB_AITCFG="${CROSS_AITCFG}/lib/libaitcfg.so" |
|
|
CROSS_AITSESS="../libaitsess" |
CROSS_AITSESS="../libaitsess" |
AITSESS_CFG="./configure --prefix=${PKG}" | AITSESS_CFG="./configure --prefix=${WORLD}/usr/local" |
#ELWIX_LIB_AITSESS="${CROSS_AITSESS}/lib/libaitsess.so" |
#ELWIX_LIB_AITSESS="${CROSS_AITSESS}/lib/libaitsess.so" |
|
|
CROSS_AITRPC="../libaitrpc" |
CROSS_AITRPC="../libaitrpc" |
AITRPC_CFG="./configure --prefix=${PKG}" | AITRPC_CFG="./configure --prefix=${WORLD}/usr/local" |
#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 --prefix=${PKG}" | AITSCHED_CFG="./configure --enable-aio --prefix=${WORLD}/usr/local" |
#ELWIX_LIB_AITSCHED="${CROSS_AITSCHED}/lib/libaitsched.so" |
#ELWIX_LIB_AITSCHED="${CROSS_AITSCHED}/lib/libaitsched.so" |
|
|
|
CROSS_AITWWW="../libaitwww" |
|
AITWWW_CFG="./configure --prefix=${WORLD}/usr/local" |
|
#ELWIX_LIB_AITWWW="${CROSS_AITWWW}/lib/libaitwww.so" |
|
|
CROSS_AITPELCO="../libaitpelco" |
CROSS_AITPELCO="../libaitpelco" |
AITPELCO_CFG="./configure --prefix=${PKG}" | AITPELCO_CFG="./configure --prefix=${WORLD}/usr/local" |
#ELWIX_LIB_AITPELCO="${CROSS_AITPELCO}/lib/libaitpelco.so" |
#ELWIX_LIB_AITPELCO="${CROSS_AITPELCO}/lib/libaitpelco.so" |
|
|
CROSS_AITPWD="../libaitpwd" |
|
AITPWD_CFG="./configure --prefix=${PKG}" |
|
#ELWIX_LIB_AITPWD="${CROSS_AITPWD}/lib/libaitpwd.so" |
|
|
|
CROSS_AITSYNC="../libaitsync" |
CROSS_AITSYNC="../libaitsync" |
AITSYNC_CFG="./configure --prefix=${PKG}" | AITSYNC_CFG="./configure --prefix=${WORLD}/usr/local" |
#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=${PKG}" | AITCLI_CFG="./configure --prefix=${WORLD}/usr/local" |
#ELWIX_LIB_AITCLI="${CROSS_AITCLI}/lib/libaitcli.so" |
#ELWIX_LIB_AITCLI="${CROSS_AITCLI}/lib/libaitcli.so" |
|
|
|
CROSS_AITMQTT="../libaitmqtt" |
|
AITMQTT_CFG="./configure --prefix=${WORLD}/usr/local" |
|
#ELWIX_LIB_AITMQTT="${CROSS_AITMQTT}/lib/libaitmqtt.so" |
|
|
CROSS_EMBEDTOOLS="../embedtools" |
CROSS_EMBEDTOOLS="../embedtools" |
EMBEDTOOLS_CFG="./configure --prefix=${PKG}" | EMBEDTOOLS_CFG="./configure --prefix=${WORLD}/usr/local" |
|
|
CROSS_ANSH="../ansh" |
CROSS_ANSH="../ansh" |
ANSH_CFG="./configure --prefix=${PKG}" | ANSH_CFG="./configure --prefix=${WORLD}/usr/local" |
| |
| CROSS_MQTT="../mqtt" |
| MQTT_CFG="./configure --with-sqlite3dir=${WORLD}/usr --prefix=${WORLD}/usr/local" |
|
|
CROSS_3TH="../embedaddon" |
CROSS_3TH="../embedaddon" |
|
|