version 1.1.1.1.2.12, 2011/07/25 00:19:40
|
version 1.3.2.25, 2012/10/11 13:31:33
|
Line 7
|
Line 7
|
# |
# |
ELWIX_IS_CONFIGURED="YES" |
ELWIX_IS_CONFIGURED="YES" |
|
|
VERSION="1.4" | VERSION="1.6" |
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="i386" |
TARGET_ARCH="i386" |
TARGET_ARCH="i386" |
|
TARGET_BUILD="${TARGET_ARCH}-${PLATFORM}-freebsd" |
PARALLEL_BUILD=2 |
PARALLEL_BUILD=2 |
|
|
CURDIR=$(pwd) |
CURDIR=$(pwd) |
Line 22 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 35 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="/usr/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" |
|
|
KERNEL="${KERN}/boot/kernel/kernel" |
KERNEL="${KERN}/boot/kernel/kernel" |
KERNCONF="ELWIX" |
KERNCONF="ELWIX" |
Line 57 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="8400k" |
|
|
### 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="100m" | 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" |
|
|
### Make OS Image |
### Make OS Image |
IMG="${REL}/ELWIX-${VERSION}_${TARGET_ARCH}.img" | IMG_SIZE=62592 |
IMG_SIZE=62400 | |
|
|
|
IMGNAME="${REL}/ELWIX-${VERSION}_${TARGET_ARCH}" |
|
MD5CHK="${IMGNAME}.md5" |
|
SHA1CHK="${IMGNAME}.sha1" |
|
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" |
|
|
### 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" |
|
|
CROSS_FT_ATH="${BSDTOOLS}/ath" |
CROSS_FT_ATH="${BSDTOOLS}/ath" |
CROSS_FT_IPW="${BSDTOOLS}/ipw" |
CROSS_FT_IPW="${BSDTOOLS}/ipw" |
Line 87 CROSS_FT_IWI="${BSDTOOLS}/iwi"
|
Line 111 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_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" |
CROSS_AITCRC="../libaitcrc" |
AITCRC_CFG="./configure --prefix=${PKG}" | AITCRC_CFG="./configure --prefix=${WORLD}/usr/local" |
#ELWIX_LIB_AITCRC="${CROSS_AITCRC}/lib/libaitcrc.so" |
#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" |
|
AITSCHED_CFG="./configure --enable-aio --prefix=${WORLD}/usr/local" |
|
#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" |
| ANSH_CFG="./configure --prefix=${WORLD}/usr/local" |
| |
| CROSS_MQTT="../mqtt" |
| MQTT_CFG="./configure --prefix=${WORLD}/usr/local" |
|
|
CROSS_3TH="../embedaddon" |
CROSS_3TH="../embedaddon" |
|
|