version 1.8, 2014/01/05 23:14:22
|
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 |
|
|
Line 89 build_elwix()
|
Line 92 build_elwix()
|
cd $ROOTFS_MKDIR |
cd $ROOTFS_MKDIR |
. ${CENV} |
. ${CENV} |
env MAKEOBJDIRPREFIX=${BSDOBJ}/elwix make -f $MKF \ |
env MAKEOBJDIRPREFIX=${BSDOBJ}/elwix make -f $MKF \ |
MAKEOBJDIRPREFIX=${BSDOBJ}/elwix clean | TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \ |
| ${X_TARGET_CPUTYPE} __MAKE_CONF=${MAKECONF} clean |
env MAKEOBJDIRPREFIX=${BSDOBJ}/elwix make -f $MKF \ |
env MAKEOBJDIRPREFIX=${BSDOBJ}/elwix make -f $MKF \ |
MAKEOBJDIRPREFIX=${BSDOBJ}/elwix | 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 403 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" |