building kernels the Debain way, SMP & kpkg

Discussion in 'Kernel Questions' started by slybob, May 24, 2007.

  1. slybob

    slybob New Member

    Hi,

    Ive just started building my own kernels. I have a dual processor sun so would like to compile using both processors, does anyone know how I can adapt the command below to use both processors for the compile? Some info on what the command below is doing would be nice. why is there two cleans for instance? I got this "mantra" from dpkg on #debian

    Thanks

    Code:
    make-kpkg clean && make-kpkg --initrd --append-to-version=.holway kernel_image modules_image clean && make-kpkg --initrd --append-to-version=.sly kernel_image modules_image
     
    Last edited: May 24, 2007
  2. falko

    falko Super Moderator Howtoforge Staff

    Do you want to use both CPUs for the compile process, or is your uestion how to make an SMP kernel?
     
  3. slybob

    slybob New Member

    I wanted to use both CPU's for the compile process. But I have since discovered

    Code:
    export CONCURRENCY_LEVEL="3"
    where 3 is the number of cores +1

    This command is entered before make or kpkg and seems to set the -j variable.

    Perhaps someone can explain this better.

    Cheers,

    Andy
     

Share This Page