From 1ca4076e9ce744e4f21581f720984023988af326 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Wed, 20 Jan 2021 23:54:54 +0100 Subject: [PATCH] NuttX: adjust default ELF_FILE_LDSCRIPT location in system export. The NuttX export changed subdirectory name for ldscripts. The incorrect path prevents to build standalone loadable ELF applications from OMK build tree. Signed-off-by: Pavel Pisa --- snippets/nuttx-compile.omk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/nuttx-compile.omk b/snippets/nuttx-compile.omk index 5538451..f8a0b5e 100644 --- a/snippets/nuttx-compile.omk +++ b/snippets/nuttx-compile.omk @@ -61,7 +61,7 @@ CFLAGS += -Wall CFLAGS += -I$(SOURCES_DIR) CFLAGS += -I$(INCLUDE_DIR) -ELF_FILE_LDSCRIPT?=$(wildcard $(NUTTX_EXPORT)/build/gnu-elf.ld) +ELF_FILE_LDSCRIPT?=$(wildcard $(NUTTX_EXPORT)/scripts/gnu-elf.ld) LOADLIBES += -L$(LIB_DIR) LOADLIBES += $(lib_LOADLIBES:%=-l%) -- 2.39.2