Re: Is there any difference between SMP makefile and non SMP makefile

From: Richard B. Johnson
Date: Fri Mar 19 2004 - 08:06:58 EST


On Fri, 19 Mar 2004, Srinivas G. wrote:

>
> Hello,
>
> I am using Red Hat Linux 7.3, Kernel is 2.4.18-3smp and kernel 2.4.18-3
> under Intel HT processor.
>
> Is there any difference between SMP Makefile and non SMP Makefile. I
NO
> have Makefile for non SMP system. What macros OR what flags can I add to
> the existing Makefile to compile it on 2.4.18-3smp kernel. It is working
> fine under 2.4.18-3 kernel that is non-SMP system.
>
> Thanks in advance.
>
> ---Srinivas G
>

You do not modify the Makefile. You grab the ".config" file with
which the existing code was compiled, search for "CONFIG_SMP".
Change it from:
"# CONFIG_SMP is not set"
to:
"CONFIG_SMP=y".
Then execute `make clean ; make oldconfig`. Then make
bzImage (or whatever). This is a reversible procedure.

Cheers,
Dick Johnson
Penguin : Linux version 2.4.24 on an i686 machine (797.90 BogoMips).
Note 96.31% of all statistics are fiction.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/