From 75702f07efa1ebaa0927cc4dd179a6c7a04c5b9e Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Fri, 15 Jan 2021 12:05:07 +0900 Subject: [PATCH] Makefile: support cross compile For local build, support cross compile. Change-Id: I04c850e246e12b6816da25743ac2e2274adbe1af Signed-off-by: Seung-Woo Kim --- kernel/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.7.4