allow to skip CPU_CORE

This commit is contained in:
hathach 2023-06-24 19:08:37 +07:00
parent 086c1d4090
commit 7d0ce5605a
No known key found for this signature in database
GPG Key ID: F5D50C6D51D17CBA
5 changed files with 7 additions and 7 deletions

View File

@ -47,7 +47,7 @@ jobs:
run: python3 tools/get_deps.py ${{ matrix.family }}
- name: Build
run: python3 tools/build_family.py ${{ matrix.family }} CC=iccarm
run: python3 tools/build_family.py ${{ matrix.family }} TOOLCHAIN=iar
cmake:
runs-on: [self-hosted, Linux, X64, hifiphile]

View File

@ -137,5 +137,10 @@ else ifeq ($(LOGGER),swo)
CFLAGS += -DLOGGER_SWO
endif
# CPU specific flags
ifdef CPU_CORE
include $(TOP)/tools/make/cpu/$(CPU_CORE).mk
endif
# toolchain specific
include $(TOP)/tools/make/toolchain/arm_$(TOOLCHAIN).mk

View File

@ -11,7 +11,7 @@ SKIPPED = "\033[33mskipped\033[0m"
build_separator = '-' * 106
make_iar_option = 'CC=iccarm'
make_iar_option = 'TOOLCHAIN=iar'
def filter_with_input(mylist):
if len(sys.argv) > 1:

View File

@ -9,9 +9,6 @@ GDB = $(CROSS_COMPILE)gdb
OBJCOPY = $(CROSS_COMPILE)objcopy
SIZE = $(CROSS_COMPILE)size
# CPU specific flags
include $(TOP)/tools/make/cpu/$(CPU_CORE).mk
# ---------------------------------------
# Compiler Flags
# ---------------------------------------

View File

@ -4,8 +4,6 @@ LD = ilinkarm
OBJCOPY = ielftool --silent
SIZE = size
include $(TOP)/tools/make/cpu/$(CPU_CORE).mk
# Enable extension mode (gcc compatible)
CFLAGS += -e --debug --silent