mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 19:29:26 +02:00
+ Xtensa: patch by Christo Crause: support subarch lx106 in freertos Makefile, part of #37242
git-svn-id: trunk@45691 -
This commit is contained in:
parent
caee96399e
commit
d22e24937a
@ -516,8 +516,14 @@ endif
|
||||
endif
|
||||
ifeq ($(ARCH),xtensa)
|
||||
CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl macpas typinfo types rtlconsts getopts lineinfo
|
||||
ifeq ($(SUBARCH),lx6)
|
||||
CPU_UNITS=esp32
|
||||
CPU_UNITS_DEFINED=1
|
||||
endif
|
||||
ifeq ($(SUBARCH),lx106)
|
||||
CPU_UNITS=esp8266
|
||||
CPU_UNITS_DEFINED=1
|
||||
endif
|
||||
ifeq ($(CPU_UNITS_DEFINED),)
|
||||
$(error No CPUs enabled for given SUBARCH, pass either a SUBARCH or set CPU_UNITS_DEFINED=1 if you know what you are doing)
|
||||
endif
|
||||
|
@ -223,10 +223,17 @@ $(error No CPUs enabled for given SUBARCH, pass either a SUBARCH or set CPU_UNIT
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
ifeq ($(ARCH),xtensa)
|
||||
CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl macpas typinfo types rtlconsts getopts lineinfo
|
||||
ifeq ($(SUBARCH),lx6)
|
||||
CPU_UNITS=esp32
|
||||
CPU_UNITS_DEFINED=1
|
||||
endif
|
||||
ifeq ($(SUBARCH),lx106)
|
||||
CPU_UNITS=esp8266
|
||||
CPU_UNITS_DEFINED=1
|
||||
endif
|
||||
ifeq ($(CPU_UNITS_DEFINED),)
|
||||
$(error No CPUs enabled for given SUBARCH, pass either a SUBARCH or set CPU_UNITS_DEFINED=1 if you know what you are doing)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user