Update Makefile

-Removed CROSS_COMPILE for ARM_RPI
-Fixed KSRC  for ARM_RPI
This commit is contained in:
intdel 2014-10-24 09:30:19 -07:00
parent 9b680d24c9
commit 2b7ff4c879

View File

@ -732,9 +732,9 @@ endif
ifeq ($(CONFIG_PLATFORM_ARM_RPI), y) ifeq ($(CONFIG_PLATFORM_ARM_RPI), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
ARCH := arm ARCH := arm
CROSS_COMPILE := arm-linux-gnueabi- CROSS_COMPILE :=
KVER := $(shell uname -r) KVER := $(shell uname -r)
KSRC ?= /home/tm-pc-vm1x64/GitHub/linux KSRC ?= /lib/modules/$(KVER)/build
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/ MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
endif endif