Failed to cross compile module on host pc

I using following makefile to build one kernel module

CROSS_COMPILE := /opt/gcc-4.8.5-aarch64/install/bin/aarch64-unknown-linux-gnu-
ARCH := arm64
CC := $(CROSS_COMPILE)gcc
LD := $(CROSS_COMPILE)ld
obj-m := sc130gs_274.o

KERNELDIR ?= /home/64_TX2/Linux_for_Tegra/kernel/local_src_dir/linux-headers-4.4.38-tegra
PWD := $(shell pwd)

EXTRA_CFLAGS := -DDEBUG=0

all:
$(MAKE) -C $(KERNELDIR) M=$(PWD)

modules_install:
$(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install

clean:
rm -rf *.o ~ core .depend ..cmd *.ko *.mod.c .tmp_versions vtty

But get followig message:
martin@martin-shining3d:~/home/martin/64_TX2/Linux_for_Tegra/sources/kernel/sc130gs_drv$ make
make -C /home/martin/64_TX2/Linux_for_Tegra/kernel/local_src_dir/linux-headers-4.4.38-tegra M=/home/martin/shining3D/64_TX2/Linux_for_Tegra/sources/kernel/sc130gs_drv
make[1]: Entering directory ‘/home/martin/64_TX2/Linux_for_Tegra/kernel/local_src_dir/linux-headers-4.4.38-tegra’
CC [M] /home/martin/64_TX2/Linux_for_Tegra/sources/kernel/sc130gs_drv/sc130gs_274.o
aarch64-unknown-linux-gnu-gcc: error: unrecognized argument in option ‘-mcmodel=kernel’
aarch64-unknown-linux-gnu-gcc: note: valid arguments to ‘-mcmodel=’ are: large small tiny
aarch64-unknown-linux-gnu-gcc: error: unrecognized command line option ‘-mno-sse’
aarch64-unknown-linux-gnu-gcc: error: unrecognized command line option ‘-mno-mmx’
aarch64-unknown-linux-gnu-gcc: error: unrecognized command line option ‘-mno-sse2’
aarch64-unknown-linux-gnu-gcc: error: unrecognized command line option ‘-mno-3dnow’
aarch64-unknown-linux-gnu-gcc: error: unrecognized command line option ‘-m64’
aarch64-unknown-linux-gnu-gcc: error: unrecognized command line option ‘-mno-red-zone’
scripts/Makefile.build:267: recipe for target ‘/home/martin/64_TX2/Linux_for_Tegra/sources/kernel/sc130gs_drv/sc130gs_274.o’ failed
make[2]: *** [/home/martin64_TX2/Linux_for_Tegra/sources/kernel/sc130gs_drv/sc130gs_274.o] Error 1
Makefile:1414: recipe for target ‘module/home/martin64_TX2/Linux_for_Tegra/sources/kernel/sc130gs_drv’ failed
make[1]: *** [module/home/martin/64_TX2/Linux_for_Tegra/sources/kernel/sc130gs_drv] Error 2
make[1]: Leaving directory ‘/home/martin/64_TX2/Linux_for_Tegra/kernel/local_src_dir/linux-headers-4.4.38-tegra’
Makefile:13: recipe for target ‘all’ failed
make: *** [all] Error 2

It is more better if you can provide one sample makefile for compile kernel module on host pc.

@27653276
We are not support loadable module.
Please have obj-y instead of obj-m