编译kl2时添加-j参数

This commit is contained in:
2025-05-08 18:49:39 +08:00
parent 73ea1d6f5f
commit e9bdad91a5
5 changed files with 22 additions and 19 deletions

View File

@@ -8,10 +8,13 @@ CC = gcc
ifeq ($(target), kunlun2)
hw_dep = hw2
CFLAGS += -DTARGET_VERSION=2
else ifeq ($(target), kunlun3)
hw_dep = hw3
CFLAGS += -DTARGET_VERSION=3
else
hw_dep = hw
CFLAGS += -DTARGET_VERSION=1
endif
ifeq ($(TOPDIR),)