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
@ -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…
Reference in New Issue
Block a user