how to enable spi on tx1

My tx1 is 32bit OS ,JetPack 2.2.1.
I consulted http://elinux.org/Jetson/TX1_SPI
When make prepare make modules_prepare
$ make M=drivers/spi/
the error is : WARNING: Symbol version dump /home/ubuntu/sources/kernel/Module.symvers
is missing; modules will have no dependencies and modversions.

            Building modules, stage 2.
            MODPOST 0 modules

while i change the command to :
$ make m=drivers/spi/
the error is :
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h’ is up to date.
CALL scripts/checksyscalls.sh
CC scripts/mod/devicetable-offsets.s
GEN scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/file2alias.o
HOSTLD scripts/mod/modpost
CHK include/generated/compile.h
CHK kernel/config_data.h
CC drivers/platform/tegra/common.o
In file included from drivers/platform/tegra/common.c:75:0:
drivers/platform/tegra/common.c: In function ‘tegra_cache_smc’:
drivers/platform/tegra/common.c:567:31: error: ‘TEGRA_ARM_PL310_BASE’ undeclared (first use in this function)
void __iomem *p = IO_ADDRESS(TEGRA_ARM_PL310_BASE);
^
/home/ubuntu/sources/kernel/arch/arm/mach-tegra/iomap.h:1166:41: note: in definition of macro ‘IO_TO_VIRT_BETWEEN’
#define IO_TO_VIRT_BETWEEN(p, st, sz) (§ >= (st) && § < ((st) + (sz)))
^
/home/ubuntu/sources/kernel/arch/arm/mach-tegra/iomap.h:1215:40: note: in expansion of macro ‘IO_TO_VIRT’
#define IO_ADDRESS(n) ((void __iomem *)IO_TO_VIRT(n))
^
drivers/platform/tegra/common.c:567:20: note: in expansion of macro ‘IO_ADDRESS’
void __iomem *p = IO_ADDRESS(TEGRA_ARM_PL310_BASE);
^
drivers/platform/tegra/common.c:567:31: note: each undeclared identifier is reported only once for each function it appears in
void __iomem *p = IO_ADDRESS(TEGRA_ARM_PL310_BASE);
^
/home/ubuntu/sources/kernel/arch/arm/mach-tegra/iomap.h:1166:41: note: in definition of macro ‘IO_TO_VIRT_BETWEEN’
#define IO_TO_VIRT_BETWEEN(p, st, sz) (§ >= (st) && § < ((st) + (sz)))
^
/home/ubuntu/sources/kernel/arch/arm/mach-tegra/iomap.h:1215:40: note: in expansion of macro ‘IO_TO_VIRT’
#define IO_ADDRESS(n) ((void __iomem *)IO_TO_VIRT(n))
^
drivers/platform/tegra/common.c:567:20: note: in expansion of macro ‘IO_ADDRESS’
void __iomem *p = IO_ADDRESS(TEGRA_ARM_PL310_BASE);
^
drivers/platform/tegra/common.c:603:3: error: implicit declaration of function ‘tegra_generic_smc’ [-Werror=implicit-function-declaration]
tegra_generic_smc(0x82000002, 0x00000001, arg);
^
In file included from drivers/platform/tegra/common.c:75:0:
drivers/platform/tegra/common.c: In function ‘tegra_l2x0_disable’:
drivers/platform/tegra/common.c:620:32: error: ‘TEGRA_ARM_PL310_BASE’ undeclared (first use in this function)
void __iomem *p = IO_ADDRESS(TEGRA_ARM_PL310_BASE);
^
/home/ubuntu/sources/kernel/arch/arm/mach-tegra/iomap.h:1166:41: note: in definition of macro ‘IO_TO_VIRT_BETWEEN’
#define IO_TO_VIRT_BETWEEN(p, st, sz) (§ >= (st) && § < ((st) + (sz)))
^
/home/ubuntu/sources/kernel/arch/arm/mach-tegra/iomap.h:1215:40: note: in expansion of macro ‘IO_TO_VIRT’
#define IO_ADDRESS(n) ((void __iomem *)IO_TO_VIRT(n))
^
drivers/platform/tegra/common.c:620:21: note: in expansion of macro ‘IO_ADDRESS’
void __iomem *p = IO_ADDRESS(TEGRA_ARM_PL310_BASE);
^
drivers/platform/tegra/common.c: In function ‘tegra_init_cache’:
drivers/platform/tegra/common.c:636:31: error: ‘TEGRA_ARM_PL310_BASE’ undeclared (first use in this function)
void __iomem *p = IO_ADDRESS(TEGRA_ARM_PL310_BASE);
^
/home/ubuntu/sources/kernel/arch/arm/mach-tegra/iomap.h:1166:41: note: in definition of macro ‘IO_TO_VIRT_BETWEEN’
#define IO_TO_VIRT_BETWEEN(p, st, sz) (§ >= (st) && § < ((st) + (sz)))
^
/home/ubuntu/sources/kernel/arch/arm/mach-tegra/iomap.h:1215:40: note: in expansion of macro ‘IO_TO_VIRT’
#define IO_ADDRESS(n) ((void __iomem *)IO_TO_VIRT(n))
^
drivers/platform/tegra/common.c:636:20: note: in expansion of macro ‘IO_ADDRESS’
void __iomem *p = IO_ADDRESS(TEGRA_ARM_PL310_BASE);
^
cc1: all warnings being treated as errors
make[3]: *** [drivers/platform/tegra/common.o] Error 1
make[2]: *** [drivers/platform/tegra] Error 2
make[1]: *** [drivers/platform] Error 2
make: *** [drivers] Error 2

How to fix it ?

Are you cross compiling, or compiling on the Jetson? Also, there was mention of this step, is this in place?

zcat /proc/config.gz > .config