mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 00:05:17 +03:00
[Sky9x] Linker error (no newlib-nano needed, no _sbrk)
This commit is contained in:
parent
056d915d37
commit
23b2602f41
1 changed files with 6 additions and 6 deletions
|
@ -722,6 +722,12 @@ ifeq ($(PCB), TARANIS)
|
||||||
EXTRABOARDSRC += targets/taranis/usbd_storage_msd.cpp
|
EXTRABOARDSRC += targets/taranis/usbd_storage_msd.cpp
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(NANO), YES)
|
||||||
|
# use newlib-nano for linking
|
||||||
|
NEWLIB_NANO_FLAGS = --specs=nano.specs -u _printf_float
|
||||||
|
CPPDEFS += -DNANO
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq ($(LUA), NO)
|
ifneq ($(LUA), NO)
|
||||||
ifeq ($(LUA), YES)
|
ifeq ($(LUA), YES)
|
||||||
CPPDEFS += -DLUA_MODEL_SCRIPTS
|
CPPDEFS += -DLUA_MODEL_SCRIPTS
|
||||||
|
@ -1120,12 +1126,6 @@ MATH_LIB = -lm
|
||||||
LDFLAGS = -Wl,-Map=$(TARGET).map,--cref
|
LDFLAGS = -Wl,-Map=$(TARGET).map,--cref
|
||||||
LDFLAGS += $(MATH_LIB)
|
LDFLAGS += $(MATH_LIB)
|
||||||
|
|
||||||
ifeq ($(NANO), YES)
|
|
||||||
# use newlib-nano for linking
|
|
||||||
NEWLIB_NANO_FLAGS = --specs=nano.specs -u _printf_float
|
|
||||||
CPPDEFS += -DNANO
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Define Messages
|
# Define Messages
|
||||||
# English
|
# English
|
||||||
MSG_BEGIN = -------- begin --------
|
MSG_BEGIN = -------- begin --------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue