CONFIG_MACH_MX31_3DS is not available for thedefaultarchitecture x86.
Result is shown for architecture arm

Support MX31PDK (3DS)

modulename: mx31pdk.ko

and/or

mach-mx31_3ds.ko

configname: CONFIG_MACH_MX31_3DS

Linux Kernel Configuration
└─>Support MX31PDK (3DS)
In linux kernel since version 2.6.29 (release Date: 2009-03-23)  
Include support for MX31PDK (3DS) platform. This includes specific
configurations for the board and its peripherals.

source code: