From baab17d150bcb3a676e9bab72e5efc697ccb7b59 Mon Sep 17 00:00:00 2001 From: gaoyang3513 Date: Mon, 16 Oct 2023 19:00:34 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E6=94=B9]=20=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E7=BC=96=E8=AF=91=E5=B7=A5=E5=85=B7=E9=93=BE=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 4329078..4553ed1 100644 --- a/Makefile +++ b/Makefile @@ -30,6 +30,12 @@ MULTI_CORES ?= $(shell grep -c ^processor /proc/cpuinfo) #******************************************************************************* # Compile configure #******************************************************************************* +export ARCH ?= arm +export CROSS_COMPILE ?= +CC := $(CROSS_COMPILE)gcc +LD := $(CROSS_COMPILE)ld +AR := $(CROSS_COMPILE)ar +STRIP := $(CROSS_COMPILE)strip #******************************************************************************* # Targets