version 1.9.2.2, 2016/11/21 17:25:33
|
version 1.10, 2017/02/13 16:52:46
|
Line 82 _EOF
|
Line 82 _EOF
|
echo "+++ Prepared RootFS config ... $CFGDIR/$ROOTFS_CONF" |
echo "+++ Prepared RootFS config ... $CFGDIR/$ROOTFS_CONF" |
|
|
install -d ${BSDOBJ}/elwix |
install -d ${BSDOBJ}/elwix |
env MAKEOBJDIRPREFIX=${BSDOBJ}/elwix crunchgen -f \ | env MAKEOBJDIRPREFIX=${BSDOBJ}/elwix ${CEXEC} crunchgen -f \ |
-h $ROOTFS_MKDIR/$MKH -m $MKF \ |
-h $ROOTFS_MKDIR/$MKH -m $MKF \ |
-c elwix.c -e elwix $ROOTFS_CONF |
-c elwix.c -e elwix $ROOTFS_CONF |
if [ $? -ne 0 ]; then |
if [ $? -ne 0 ]; then |
Line 95 build_elwix()
|
Line 95 build_elwix()
|
{ |
{ |
echo "+++ Build ELWIX RootFS firmware ... $ROOTFS_MKDIR" |
echo "+++ Build ELWIX RootFS firmware ... $ROOTFS_MKDIR" |
cd $ROOTFS_MKDIR |
cd $ROOTFS_MKDIR |
env MAKEOBJDIRPREFIX=${BSDOBJ}/elwix make -f $MKF \ | ${CBUILD} -f $MKF \ |
TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \ |
TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \ |
${X_TARGET_CPUTYPE} __MAKE_CONF=${MAKECONF} clean |
${X_TARGET_CPUTYPE} __MAKE_CONF=${MAKECONF} clean |
env MAKEOBJDIRPREFIX=${BSDOBJ}/elwix make -f $MKF \ | ${CBUILD} -f $MKF \ |
| TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \ |
| ${X_TARGET_CPUTYPE} __MAKE_CONF=${MAKECONF} objs |
| ${CBUILD} -f $MKF \ |
TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \ |
TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \ |
${X_TARGET_CPUTYPE} __MAKE_CONF=${MAKECONF} |
${X_TARGET_CPUTYPE} __MAKE_CONF=${MAKECONF} |
if [ $? -ne 0 ]; then |
if [ $? -ne 0 ]; then |