[Lunar-commits] CVS: crater/kernel/linux BUILD.sparc64,NONE,1.1

Terry Chan tchan at lunar-linux.org
Thu Aug 12 03:04:54 GMT 2004


Update of /var/cvs/lunar/crater/kernel/linux
In directory dbguin.lunar-linux.org:/tmp/cvs-serv3128

Added Files:
	BUILD.sparc64 
Log Message:
Forgot one of the sparc64 files.


--- NEW FILE: BUILD.sparc64 ---
cd  /usr/src/linux

while
    case  $CONFIG_KERNEL in
        y|Y)

            case $CONFIG_METHOD in
                xconfig )
                    if [ "$DISPLAY" ]; then
                        make xconfig || make menuconfig || make config
                    else
                        make menuconfig || make config
                    fi ;;

                menuconfig )
                  make menuconfig || make config ;;

                config )
                  make config ;;
            esac

            if  query  "Repeat $CONFIG_METHOD?  "  n ; then
                CONFIG_KERNEL=y
            else
                CONFIG_KERNEL=n
            fi
            ;;

        *)
            false  ;;
    esac
do
  true
done

(

  yes  n  |  make  oldconfig
  cp .config $CONFIG_CACHE/.config

  # Because parallel make seems not to work, a hack

if [ "$CONFIG_AGGRESSIVE" == "y" ]; then
  EXTENSION="-aggressive"
else
  EXTENSION=""
fi

  optimize_make                                        &&
  KMAKES=${MAKES:=1}                                   &&
  make -j${KMAKES} dep                                 &&
  make -j${KMAKES} clean                               &&
  make -j${KMAKES} vmlinux                             &&
  make -j${KMAKES} modules                             &&
  backup_mods_krnl  ${VERSION}-${PVERSION}${EXTENSION} &&
  prepare_install                                      &&
  make  modules_install                                &&

  cp    vmlinux   /boot/${VERSION}-${PVERSION}
  
) > $C_FIFO 2>&1



More information about the Lunar-commits mailing list