Annotation of elwix/config/rc.elwix, revision 1.1.1.1
1.1 misho 1: # ELWIX project setup
2: #
3: # (C) AITNET ltd - Sofia/Bulgaria <office@aitnet.org>
4: # by Michael Pounov <misho@elwix.org>
5: #
6: # $Id:$
7: #
8: ELWIX_IS_CONFIGURED="YES"
9:
10: VERSION="1.4"
11: PLATFORM="elwix"
12: TIMEZONE="Europe/Sofia"
13: BUILD_DATE=`date "+%Y-%m-%d"`
14:
15: TARGET="i386"
16: TARGET_ARCH="i386"
17: PARALLEL_BUILD=2
18:
19: CURDIR=$(pwd)
20: CFGDIR="${CURDIR}/config"
21:
22: PREDIR=".."
23:
24: # Dont change TOPDIR!!!
25: TOPDIR="${CURDIR}/build"
26: #
27:
28: REL="${TOPDIR}/release"
29: DEST="${TOPDIR}/destdir"
30: OBJS="${TOPDIR}/obj"
31: ADIR="${TOPDIR}/arch"
32: PKG="${TOPDIR}/pkg"
33:
34: WORLD="${ADIR}/${TARGET_ARCH}/world"
35: KERN="${ADIR}/${TARGET_ARCH}/kernel"
36: BSDOBJ="${OBJS}/${TARGET_ARCH}"
37: BSDSRC="/usr/src"
38:
39: ### Kernel
40: BSDKERNCONF="${BSDSRC}/sys/${TARGET}/conf"
41:
42: KERNEL="${KERN}/boot/kernel/kernel"
43: KERNCONF="ELWIX"
44:
45: ### Rootfs
46: MKDIR="${ADIR}/${TARGET_ARCH}/elwix"
47: MKF="Makefile.elwix"
48: MKH="Makefile.inc"
49: ROOTFS_CONF="elwix_firmware.conf"
50:
51: ROOTFS="${DEST}/rootfs"
52: ROOTFS_ETC="${CFGDIR}/etc/rootfs"
53: ELWIX_ROOTFS="${CFGDIR}/elwix_rootfs.conf"
54:
55: ROOTFS_KERN="kernel.gz"
56:
57: ROOTFS_IMG="rootfs.img"
58: ROOTFS_SIZE="5120k"
59:
60: ### RomFS Firmware
61: ROMFS="${DEST}/romfs"
62: ROMFS_USR="${ROMFS}/usr"
63: ELWIX_ROMFS="${TOPDIR}/elwix_romfs.conf"
64: ELWIX_APPS="${TOPDIR}/elwix_apps.conf"
65: ROMFS_IMG="elwix-firmware.sys"
66: ROMFS_SIZE="56m"
67:
68: ### FS Image
69: FS="${DEST}/elwix.fs"
70: OS="elwix_${VERSION}.tar.gz"
71: ELWIX_FS="${TOPDIR}/elwix_fs.conf"
72:
73: ### Make OS Image
74: IMG="$REL/ELWIX_${VERSION}_64MB.img"
75: IMG_SIZE=84000
76:
77: ### Cross
78: CROSS_AXL="../gpl/axl"
79: AXL_CFG="./configure"
80: AXL_LIB="${CROSS_AXL}/src/.libs/libaxl.so.*"
81: AXL_LIB_NS="${CROSS_AXL}/ns/.libs/libaxl-ns.so.*"
82: AXL_LIB_BABEL="${CROSS_AXL}/babel/.libs/libaxl-babel.so.*"
83:
84: CROSS_AITIO="../libaitio"
85: AITIO_CFG="./configure --enable-aio"
86: ELWIX_LIB_AITIO="${CROSS_AITIO}/lib/libaitio.so"
87:
88: CROSS_AITCRC="../libaitcrc"
89: AITCRC_CFG="./configure"
90: ELWIX_LIB_AITCRC="${CROSS_AITCRC}/lib/libaitcrc.so"
91:
92: CROSS_AITCFG="../libaitcfg"
93: AITCFG_CFG="./configure"
94: ELWIX_LIB_AITCFG="${CROSS_AITCFG}/lib/libaitcfg.so"
95:
96: CROSS_AITSESS="../libaitsess"
97: AITSESS_CFG="./configure"
98: ELWIX_LIB_AITSESS="${CROSS_AITSESS}/lib/libaitsess.so"
99:
100: CROSS_AITRPC="../libaitrpc"
101: AITRPC_CFG="./configure"
102: ELWIX_LIB_AITRPC="${CROSS_AITRPC}/lib/libaitrpc.so"
103:
104: CROSS_AITPELCO="../libaitpelco"
105: AITPELCO_CFG="./configure"
106: ELWIX_LIB_AITPELCO="${CROSS_AITPELCO}/lib/libaitpelco.so"
107:
108: CROSS_AITPWD="../libaitpwd"
109: AITPWD_CFG="./configure"
110: ELWIX_LIB_AITPWD="${CROSS_AITPWD}/lib/libaitpwd.so"
111:
112: CROSS_AITSYNC="../libaitsync"
113: AITSYNC_CFG="./configure"
114: ELWIX_LIB_AITSYNC="${CROSS_AITSYNC}/lib/libaitsync.so"
115:
116: CROSS_AITCLI="../libaitcli"
117: AITCLI_CFG="./configure"
118: ELWIX_LIB_AITCLI="${CROSS_AITCLI}/lib/libaitcli.so"
119:
120: #####
121: [ -r ${CFGDIR}/rc.subr ] && . ${CFGDIR}/rc.subr
122: #####
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>