From aed9bcc001ec71b8d06c76ea3bd56562ad0fd89a Mon Sep 17 00:00:00 2001 From: Masayuki Ishikawa Date: Sat, 17 Oct 2020 21:19:42 +0900 Subject: [PATCH] arch: x86: Fix x86 linking Summary: - I noticed that qemu-i486:nsh can not start - Finally, I found that the issue was introduced by 4910d43ab0 - Actually, nuttx_elf was linked dynamically - This commit fixes this issue Impact: - Affects x86 (32bit) only Testing: - Tested with qemu-i486:nsh --- arch/x86/src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/src/Makefile b/arch/x86/src/Makefile index fe114eee665d9..3dc110fa16597 100644 --- a/arch/x86/src/Makefile +++ b/arch/x86/src/Makefile @@ -74,7 +74,7 @@ OBJS = $(AOBJS) $(COBJS) LDSTARTGROUP ?= --start-group LDENDGROUP ?= --end-group -LDFLAGS += $(ARCHSCRIPT) +LDFLAGS += $(ARCHSCRIPT) -static BOARDMAKE = $(if $(wildcard board$(DELIM)Makefile),y,)