mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
import/mk: Update ELF flags to represent build configuration type.
Allows board configuration to select the output ELF format for application built using the `make import` target.
This commit is contained in:
parent
cb9cba8d3f
commit
44ae5cc14a
1 changed files with 4 additions and 1 deletions
|
|
@ -90,5 +90,8 @@ endif
|
|||
|
||||
# ELF module definitions
|
||||
|
||||
LDELFFLAGS += -r -e _start -Bstatic
|
||||
ifeq ($(CONFIG_BINFMT_ELF_RELOCATABLE),y)
|
||||
LDELFFLAGS += -r
|
||||
endif
|
||||
LDELFFLAGS += -e _start -Bstatic
|
||||
LDELFFLAGS += $(addprefix -T,$(call CONVERT_PATH,$(TOPDIR)/scripts/gnu-elf.ld))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue