version 1.6.2.3, 2013/08/02 13:27:57
|
version 1.8.2.2, 2014/01/17 00:48:28
|
Line 35 NEWKERN="${REL}/${KRNNAME}"
|
Line 35 NEWKERN="${REL}/${KRNNAME}"
|
MKF="Makefile.elwix" |
MKF="Makefile.elwix" |
MKH="Makefile.inc" |
MKH="Makefile.inc" |
|
|
|
# Set TARGET_CPUTYPE only for world compiling. Don't use this in kernel build! |
|
X_TARGET_CPUTYPE="TARGET_CPUTYPE=${TARGET_CPUTYPE}" |
|
|
clean_elwix() |
clean_elwix() |
{ |
{ |
echo "+++ Clean elwix binary from ELWIX World ..." |
echo "+++ Clean elwix binary from ELWIX World ..." |
Line 72 srcdirs ${BSDSRC}/usr.bin ${BSDSRC}/usr.sbin ${BSDSRC}
|
Line 75 srcdirs ${BSDSRC}/usr.bin ${BSDSRC}/usr.sbin ${BSDSRC}
|
srcdirs ${BSDSRC}/secure/usr.bin ${BSDSRC}/secure/usr.sbin ${BSDSRC}/secure/libexec |
srcdirs ${BSDSRC}/secure/usr.bin ${BSDSRC}/secure/usr.sbin ${BSDSRC}/secure/libexec |
|
|
buildopts -DNO_PAM -DNO_KERBEROS WITHOUT_PAM_SUPPORT=yes WITHOUT_KERBEROS_SUPPORT=yes WITHOUT_KERBEROS=yes |
buildopts -DNO_PAM -DNO_KERBEROS WITHOUT_PAM_SUPPORT=yes WITHOUT_KERBEROS_SUPPORT=yes WITHOUT_KERBEROS=yes |
buildopts TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} MAKEOBJDIRPREFIX=${BSDOBJ}/elwix | buildopts TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} ${X_TARGET_CPUTYPE} __MAKE_CONF=${MAKECONF} MAKEOBJDIRPREFIX=${BSDOBJ}/elwix |
_EOF |
_EOF |
cat $CFGDIR/$ROOTFS_CONF >>$ROOTFS_CONF |
cat $CFGDIR/$ROOTFS_CONF >>$ROOTFS_CONF |
|
|
. ${CENV} |
. ${CENV} |
install -d ${BSDOBJ}/elwix |
install -d ${BSDOBJ}/elwix |
crunchgen -f -o -p ${BSDOBJ}/elwix -h $ROOTFS_MKDIR/$MKH -m $MKF -c elwix.c -e elwix $ROOTFS_CONF | crunchgen -f -o -p ${BSDOBJ}/elwix -h $ROOTFS_MKDIR/$MKH -m $MKF \ |
| -c elwix.c -e elwix $ROOTFS_CONF |
cd - |
cd - |
} |
} |
|
|
Line 87 build_elwix()
|
Line 91 build_elwix()
|
echo "+++ Build ELWIX RootFS firmware ..." |
echo "+++ Build ELWIX RootFS firmware ..." |
cd $ROOTFS_MKDIR |
cd $ROOTFS_MKDIR |
. ${CENV} |
. ${CENV} |
MAKEOBJDIRPREFIX=${BSDOBJ}/elwix | env MAKEOBJDIRPREFIX=${BSDOBJ}/elwix make -f $MKF \ |
make -f $MKF clean | TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \ |
make -f $MKF | ${X_TARGET_CPUTYPE} __MAKE_CONF=${MAKECONF} clean |
| env MAKEOBJDIRPREFIX=${BSDOBJ}/elwix make -f $MKF \ |
| TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \ |
| ${X_TARGET_CPUTYPE} __MAKE_CONF=${MAKECONF} |
if [ $? -ne 0 ]; then |
if [ $? -ne 0 ]; then |
exit 1 |
exit 1 |
fi |
fi |
Line 401 if SnitVer ${WORLD}/elwix.ver; then
|
Line 408 if SnitVer ${WORLD}/elwix.ver; then
|
build_image |
build_image |
install_image |
install_image |
else |
else |
echo "Skipped ELWIX RootFS build ..." | echo "$? Skipped ELWIX RootFS build ..." |
fi |
fi |
|
|
echo "+++ Complete build ELWIX RootFS" |
echo "+++ Complete build ELWIX RootFS" |