error compiling module kernel

sorry i tried to compile a simple kernel module but i got this error:
make -C /lib/modules/4.4.30-ti-r64/build M= modules
make[1]: Entering directory ‘/usr/src/linux-headers-4.4.30-ti-r64’
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
make[2]: *** No rule to make target ‘arch/arm/tools/gen-mach-types’, needed by ‘include/generated/mach-types.h’. Stop.
arch/arm/Makefile:313: recipe for target ‘archprepare’ failed
make[1]: *** [archprepare] Error 2
make[1]: Leaving directory ‘/usr/src/linux-headers-4.4.30-ti-r64’
Makefile:5: recipe for target ‘all’ failed
make: *** [all] Error 2