Diff for /elwix/build_rootfs.sh between versions 1.8.2.1 and 1.8.2.2

version 1.8.2.1, 2014/01/14 23:38:26 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}/elwixbuildopts 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

Removed from v.1.8.2.1  
changed lines
  Added in v.1.8.2.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>