version 1.2, 2017/02/13 16:52:46
|
version 1.2.2.9, 2018/07/06 00:23:20
|
Line 7
|
Line 7
|
# |
# |
ELWIX_IS_CONFIGURED="YES" |
ELWIX_IS_CONFIGURED="YES" |
|
|
VERSION="2.5_amd64" | VERSION="2.6_amd64" |
PLATFORM="elwix" |
PLATFORM="elwix" |
TIMEZONE="Europe/Sofia" |
TIMEZONE="Europe/Sofia" |
BUILD_DATE=`date "+%Y-%m-%d"` |
BUILD_DATE=`date "+%Y-%m-%d"` |
Line 29 PREDIR=".."
|
Line 29 PREDIR=".."
|
TOPDIR="${CURDIR}/build/${VERSION}" |
TOPDIR="${CURDIR}/build/${VERSION}" |
# |
# |
BSDSRC="/home/fbsd_work.src/src" |
BSDSRC="/home/fbsd_work.src/src" |
PKGSRC="/home/pkgsrc" |
|
ADDSRC="/home/misho/work/embedaddon" |
ADDSRC="/home/misho/work/embedaddon" |
|
|
REL="${TOPDIR}/release" |
REL="${TOPDIR}/release" |
Line 46 AIT="${ADIR}/${TARGET_ARCH}"
|
Line 45 AIT="${ADIR}/${TARGET_ARCH}"
|
BSDOBJ="${OBJS}/${TARGET_ARCH}" |
BSDOBJ="${OBJS}/${TARGET_ARCH}" |
BSDTOOLS="${BSDSRC}/tools/tools" |
BSDTOOLS="${BSDSRC}/tools/tools" |
PKGDIR="${WORLD}/elwix/pkg" |
PKGDIR="${WORLD}/elwix/pkg" |
CROSSTOOLDIR="${BSDOBJ}/${TARGET_ARCH}.${TARGET_ARCH}/${BSDSRC}/tmp" | CROSSTOOLDIR="${BSDOBJ}/${BSDSRC}/${TARGET}.${TARGET_ARCH}/tmp" |
| #CROSSTOOLDIR="${BSDOBJ}/${TARGET_ARCH}.${TARGET_ARCH}/${BSDSRC}/tmp" |
|
|
### Kernel |
### Kernel |
BSDKERNCONF="${BSDSRC}/sys/${TARGET}/conf" |
BSDKERNCONF="${BSDSRC}/sys/${TARGET}/conf" |
Line 112 OS_EXT="ELWIX-${VERSION}_rootfsext_128mb_${TARGET_ARCH
|
Line 112 OS_EXT="ELWIX-${VERSION}_rootfsext_128mb_${TARGET_ARCH
|
### Make OS Image |
### Make OS Image |
IMG_SIZE=62592 |
IMG_SIZE=62592 |
IMG_SIZE128=125100 |
IMG_SIZE128=125100 |
|
IMG_SIZE256=251496 |
|
IMG_SIZE512=500472 |
|
|
CFG_NAND_SIZE=262144 | CFG_NAND_SIZE=524288 |
|
|
IMGNAME="${REL}/ELWIX-${VERSION}_${TARGET_ARCH}" |
IMGNAME="${REL}/ELWIX-${VERSION}_${TARGET_ARCH}" |
|
|
Line 130 CROSS_FT_MWL="${BSDTOOLS}/mwl"
|
Line 132 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_FT_WTAP="${BSDTOOLS}/wtap" |
|
CROSS_FT_CXGB="${BSDTOOLS}/cxgbtool" |
|
CROSS_FT_IFINFO="${BSDTOOLS}/ifinfo" |
|
CROSS_FT_MCTEST="${BSDTOOLS}/mctest" |
|
CROSS_FT_NETMAP="${BSDTOOLS}/netmap" |
|
CROSS_FT_NETBLAST="${BSDTOOLS}/netrate/netblast" |
|
CROSS_FT_NETRCV="${BSDTOOLS}/netrate/netreceive" |
|
CROSS_FT_NETSND="${BSDTOOLS}/netrate/netsend" |
|
|
CROSS_ELWIX="../libelwix" | CROSS_PATH="../" |
ELWIX_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}" | CROSS_TOOLS="libelwix libaitsched libaitcfg libaitio libaitrpc libaitwww libaitpelco libaitsync libaitcli libaitmqtt embedtools ansh mqtt wifinator tftpd" |
| CROSS_PFX="--prefix=${WORLD}/usr/local --host=${TARGET_BUILD}" |
|
|
CROSS_AITIO="../libaitio" | # additional options to software // <cross_tools_item>_OPTS |
AITIO_CFG="./configure --enable-aio --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}" | libaitio_OPTS="--enable-aio" |
| libaitsched_OPTS="--enable-aio" |
| mqtt_OPTS="--with-sqlite3dir=${WORLD}/usr/local" |
|
|
CROSS_AITCFG="../libaitcfg" | # 3th party softwares |
AITCFG_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}" | CROSS_3THPATH="../embedaddon/" |
| CROSS_3THPARTY="mini_sendmail rsync |
| ttcp iperf |
| libnet arping |
| hping2 mtr |
| confuse bmon |
| mpd dnsmasq pimd pimdd freevrrpd ipguard choparp |
| readline bird bird6 quagga" |
|
|
CROSS_AITRPC="../libaitrpc" | mini_sendmail_MAKE="${CBUILD}" |
AITRPC_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}" | rsync_MAKE="${CBUILD}" |
| ttcp_MAKE="${CBUILD}" |
CROSS_AITSCHED="../libaitsched" | iperf_MAKE="${CBUILD}" |
AITSCHED_CFG="./configure --enable-aio --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}" | libnet_MAKE="${CBUILD}" |
| arping_MAKE="${CBUILD}" |
CROSS_AITWWW="../libaitwww" | hping2_MAKE="${CBUILD}" |
AITWWW_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}" | mtr_MAKE="${CBUILD}" |
| confuse_MAKE="${CGBUILD}" |
CROSS_AITPELCO="../libaitpelco" | bmon_MAKE="${CGBUILD}" |
AITPELCO_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}" | mpd_MAKE="${CBUILD}" |
| dnsmasq_MAKE="${CBUILD}" |
CROSS_AITSYNC="../libaitsync" | pimd_MAKE="${CBUILD}" |
AITSYNC_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}" | pimdd_MAKE="${CBUILD}" |
| freevrrpd_MAKE="${CBUILD}" |
CROSS_AITCLI="../libaitcli" | ipguard_MAKE="${CBUILD}" |
AITCLI_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}" | choparp_MAKE="${CBUILD}" |
| readline_MAKE="${CGBUILD}" |
CROSS_AITMQTT="../libaitmqtt" | bird_MAKE="${CGBUILD}" |
AITMQTT_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}" | bird6_MAKE="${CGBUILD}" |
| quagga_MAKE="${CBUILD}" |
CROSS_EMBEDTOOLS="../embedtools" | |
EMBEDTOOLS_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}" | |
| |
CROSS_ANSH="../ansh" | |
ANSH_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}" | |
| |
CROSS_MQTT="../mqtt" | |
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_TFTPD="../tftpd" | |
TFTPD_CFG="./configure --prefix=${WORLD}/usr/local --host=${TARGET_BUILD}" | |
|
|
##### |
##### |
[ -r ${CFGDIR}/rc.subr ] && . ${CFGDIR}/rc.subr |
[ -r ${CFGDIR}/rc.subr ] && . ${CFGDIR}/rc.subr |