version 1.1.1.1.2.9, 2011/07/21 14:26:08
|
version 1.3.2.6, 2012/02/16 23:17:55
|
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 35 KERN="${ADIR}/${TARGET_ARCH}/kernel"
|
Line 36 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" | BSDSRC="/home/fbsd_work.src/src" |
BSDTOOLS="${BSDSRC}/tools/tools" |
BSDTOOLS="${BSDSRC}/tools/tools" |
|
|
### 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 59 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="8192k" |
|
|
### RomFS Firmware |
### RomFS Firmware |
ROMFS="${DEST}/romfs" |
ROMFS="${DEST}/romfs" |
ROMFS_USR="${ROMFS}/usr" |
ROMFS_USR="${ROMFS}/usr" |
ELWIX_ROMFS="${CFGDIR}/elwix_romfs.conf" |
ELWIX_ROMFS="${CFGDIR}/elwix_romfs.conf" |
ROMFS_IMG="elwix-firmware.sys" |
ROMFS_IMG="elwix-firmware.sys" |
ROMFS_SIZE="100m" | ROMFS_SIZE="93m" |
|
|
### FS Image |
### FS Image |
FS="${DEST}/elwix.fs" |
FS="${DEST}/elwix.fs" |
Line 74 ELWIX_BSDSRC="${CFGDIR}/elwix_bsdsrc.conf"
|
Line 76 ELWIX_BSDSRC="${CFGDIR}/elwix_bsdsrc.conf"
|
OS="ELWIX-${VERSION}_${TARGET_ARCH}_${BUILD_DATE}.tar.gz" |
OS="ELWIX-${VERSION}_${TARGET_ARCH}_${BUILD_DATE}.tar.gz" |
|
|
### Make OS Image |
### Make OS Image |
IMG="${REL}/ELWIX-${VERSION}_${TARGET_ARCH}.img" | IMGNAME="${REL}/ELWIX-${VERSION}_${TARGET_ARCH}" |
IMG_SIZE=60000 | MD5CHK="${IMGNAME}.md5" |
| SHA1CHK="${IMGNAME}.sha1" |
| IMG="${IMGNAME}.img" |
| IMG_SIZE=62592 |
|
|
### Cross |
### Cross |
CBUILD="${DEST}/cross_build.sh" |
CBUILD="${DEST}/cross_build.sh" |
CGBUILD="${DEST}/cross_gbuild.sh" |
CGBUILD="${DEST}/cross_gbuild.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 93 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 --prefix=${PKG}" |
Line 114 CROSS_AITRPC="../libaitrpc"
|
Line 121 CROSS_AITRPC="../libaitrpc"
|
AITRPC_CFG="./configure --prefix=${PKG}" |
AITRPC_CFG="./configure --prefix=${PKG}" |
#ELWIX_LIB_AITRPC="${CROSS_AITRPC}/lib/libaitrpc.so" |
#ELWIX_LIB_AITRPC="${CROSS_AITRPC}/lib/libaitrpc.so" |
|
|
|
CROSS_AITSCHED="../libaitsched" |
|
AITSCHED_CFG="./configure --prefix=${PKG}" |
|
#ELWIX_LIB_AITSCHED="${CROSS_AITSCHED}/lib/libaitsched.so" |
|
|
CROSS_AITPELCO="../libaitpelco" |
CROSS_AITPELCO="../libaitpelco" |
AITPELCO_CFG="./configure --prefix=${PKG}" |
AITPELCO_CFG="./configure --prefix=${PKG}" |
#ELWIX_LIB_AITPELCO="${CROSS_AITPELCO}/lib/libaitpelco.so" |
#ELWIX_LIB_AITPELCO="${CROSS_AITPELCO}/lib/libaitpelco.so" |
Line 130 CROSS_AITCLI="../libaitcli"
|
Line 141 CROSS_AITCLI="../libaitcli"
|
AITCLI_CFG="./configure --prefix=${PKG}" |
AITCLI_CFG="./configure --prefix=${PKG}" |
#ELWIX_LIB_AITCLI="${CROSS_AITCLI}/lib/libaitcli.so" |
#ELWIX_LIB_AITCLI="${CROSS_AITCLI}/lib/libaitcli.so" |
|
|
|
CROSS_AITMQTT="../libaitmqtt" |
|
AITMQTT_CFG="./configure --prefix=${PKG}" |
|
#ELWIX_LIB_AITMQTT="${CROSS_AITCLI}/lib/libaitmqtt.so" |
|
|
CROSS_EMBEDTOOLS="../embedtools" |
CROSS_EMBEDTOOLS="../embedtools" |
EMBEDTOOLS_CFG="./configure --prefix=${PKG}" |
EMBEDTOOLS_CFG="./configure --prefix=${PKG}" |
|
|
|
CROSS_ANSH="../ansh" |
|
ANSH_CFG="./configure --prefix=${PKG}" |
|
|
CROSS_3TH="../embedaddon" |
CROSS_3TH="../embedaddon" |
|
|