If we are going to extend the concept of machines for i386 we should
add a default CONFIG option for the generic case.
Then we could do something like:
core-$(CONFIG_MACH_I386GENERIC) += arch/i386/mach-generic
core-$(CONFIG_MACH_VISWS) += arch/i386/mach-visws
core-$(CONFIG_MACH_SUMMIT) += arch/i386/mach-generic
mflags-$(CONFIG_MACH_VISWS) := asm/mach-visws
mflags-$(CONFIG_MACH_SUMMIT) := asm/mach-summit
mflags-y += asm/mach-generic
AFLAGS += $(mflags-y)
CFLAGS += $(mflags-y)
There is something similar done for arm in newest kernel.
Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/