On Sun, Nov 09, 2003 at 06:45:28PM +0100, Andi Kleen wrote:
>
> Hallo,
>
> The x86-64 port is reusing several source files from the i386 port.
> Originally in 2.4 this was done using symlinks created in the Makefile;
> but that was changed in 2.6 when the separate obj directory support was
> added.
>
> Currently it uses e.g in arch/x86_64/kernel/Makefile for the cpuid driver:
>
> obj-$(CONFIG_X86_CPUID) += cpuid.o
> cpuid-$(CONFIG_X86_CPUID) += ../../i386/kernel/cpuid.o
Try this:
obj-$(CONFIG_X86_CPUID) += cpuid.o
cpuid-$(subst m,y,$(CONFIG_X86_CPUID)) += ../../i386/kernel/cpuid.o
A workaround - not what I consider 'the solution'.
Sam
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel