Fix Makefile

This commit is contained in:
Kamil Trzcinski 2017-01-30 21:37:00 +01:00
parent 6b2045b110
commit 8ca479f10c
No known key found for this signature in database
GPG key ID: 4505F5C7E12C6A5A

View file

@ -962,9 +962,14 @@ _PLATFORM_FILES += platform/platform_ARM_SUN50IW1P1_sdio.o
endif endif
ARCH := arm64 ARCH := arm64
CROSS_COMPILE ?=
KVER := $(shell uname -r)
KSRC := /lib/modules/$(KVER)/build
# ===Cross compile setting for Android 5.1(64) SDK === # ===Cross compile setting for Android 5.1(64) SDK ===
CROSS_COMPILE := /home/android_sdk/Allwinner/a64/android-51/lichee/out/sun50iw1p1/android/common/buildroot/external-toolchain/bin/aarch64-linux-gnu- #CROSS_COMPILE := /home/android_sdk/Allwinner/a64/android-51/lichee/out/sun50iw1p1/android/common/buildroot/external-toolchain/bin/aarch64-linux-gnu-
KSRC :=/home/android_sdk/Allwinner/a64/android-51/lichee/linux-3.10/ #KSRC :=/home/android_sdk/Allwinner/a64/android-51/lichee/linux-3.10/
endif endif
ifeq ($(CONFIG_PLATFORM_TI_AM3517), y) ifeq ($(CONFIG_PLATFORM_TI_AM3517), y)
@ -1698,4 +1703,3 @@ clean:
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~ rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm -fr .tmp_versions rm -fr .tmp_versions
endif endif