[Lunar-commits] CVS: moonbase/kernel/linux-beta BUILD.alpha, NONE, 1.1

Veerappan watryac04 at lunar-linux.org
Mon Jan 5 02:13:18 GMT 2004


Update of /var/cvs/lunar/moonbase/kernel/linux-beta
In directory dbguin.lunar-linux.org:/tmp/cvs-serv29531

Added Files:
	BUILD.alpha 
Log Message:
Making it possible to build 2.6.x on an alpha... Might be more stuff on 
the way.


--- NEW FILE: BUILD.alpha ---
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.beta
    rm -f arch/alpha/boot/vmlinux.gz

   # Because parallel make seems not to work, a hack   

    optimize_make                      &&
    KMAKES=${MAKES:=1}                 &&
    make  -j${KMAKES} boot             &&
    make  -j${KMAKES} modules          &&
    backup_mods_krnl ${VERSION}-beta   &&
    prepare_install                    &&
    make  modules_install #            &&

    cp arch/alpha/boot/vmlinux.gz /boot/${VERSION}-beta 

) > $C_FIFO 2>&1



More information about the Lunar-commits mailing list