configs/stm32f4discovery/kernel/Makefile: Fix a problem with undefined symbol 'abort' from GCC library. Fix by moving libgcc into recursive archive group between --start-group and --end-group. Other kernel/Makefiles suffer from this same issue
This commit is contained in:
parent
0136cd91cb
commit
c9bdc101bc
@ -86,7 +86,7 @@ $(COBJS): %$(OBJEXT): %.c
|
||||
# Create the nuttx_user.elf file containing all of the user-mode code
|
||||
|
||||
nuttx_user.elf: $(OBJS)
|
||||
$(Q) $(LD) -o $@ $(USER_LDFLAGS) $(USER_LIBPATHS) $(OBJS) --start-group $(USER_LDLIBS) --end-group $(USER_LIBGCC)
|
||||
$(Q) $(LD) -o $@ $(USER_LDFLAGS) $(USER_LIBPATHS) $(OBJS) --start-group $(USER_LDLIBS) $(USER_LIBGCC) --end-group
|
||||
|
||||
$(TOPDIR)$(DELIM)nuttx_user.elf: nuttx_user.elf
|
||||
@echo "LD: nuttx_user.elf"
|
||||
|
Loading…
Reference in New Issue
Block a user