[rdc] forward port r18254 to 2.6.30
[openwrt-10.03/.git] / target / linux / rdc / patches-2.6.30 / 002-platform_support.patch
diff --git a/target/linux/rdc/patches-2.6.30/002-platform_support.patch b/target/linux/rdc/patches-2.6.30/002-platform_support.patch
new file mode 100644 (file)
index 0000000..74fa95d
--- /dev/null
@@ -0,0 +1,13 @@
+--- a/arch/x86/Makefile
++++ b/arch/x86/Makefile
+@@ -124,6 +124,10 @@ core-y += $(fcore-y)
+ # Xen paravirtualization support
+ core-$(CONFIG_XEN) += arch/x86/xen/
++# RDC R-321X support
++cflags-$(CONFIG_X86_RDC321X)  := -Iarch/x86/include/asm/mach-rdc321x
++core-$(CONFIG_X86_RDC321X)   += arch/x86/mach-rdc321x/
++
+ # lguest paravirtualization support
+ core-$(CONFIG_LGUEST_GUEST) += arch/x86/lguest/