From: Seung-Woo Kim Date: Fri, 15 Jan 2021 03:05:07 +0000 (+0900) Subject: Makefile: support cross compile X-Git-Tag: submit/tizen/20211126.100737~8^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=75702f07efa1ebaa0927cc4dd179a6c7a04c5b9e;p=platform%2Fkernel%2Flinux-tizen-modules-source.git Makefile: support cross compile For local build, support cross compile. Change-Id: I04c850e246e12b6816da25743ac2e2274adbe1af Signed-off-by: Seung-Woo Kim --- diff --git a/kernel/Makefile b/kernel/Makefile index a4bdc22..dc4784b 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -1,5 +1,5 @@ PWD := $(shell pwd) -LD = ld +LD = ${CROSS_COMPILE}ld obj-m += proc-tsm.o proc-tsm_SOURCES = proc-tsm.c