mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
libapps.a: Add the static application library always to the target libraries
This error was made by me a long time ago, not understanding how the kernel mode build is expected to work. So partially revert PR#946.
This commit is contained in:
parent
bca94fce5a
commit
f844db5194
2 changed files with 4 additions and 6 deletions
|
|
@ -42,11 +42,9 @@ else
|
|||
CWD = $(CURDIR)
|
||||
endif
|
||||
|
||||
# Add the static application library to the linked libraries. Don't do this
|
||||
# with CONFIG_BUILD_KERNEL as there is no static app library
|
||||
ifneq ($(CONFIG_BUILD_KERNEL),y)
|
||||
LDLIBS += $(call CONVERT_PATH,$(BIN))
|
||||
endif
|
||||
# Add the static application library to the linked libraries.
|
||||
|
||||
LDLIBS += $(call CONVERT_PATH,$(BIN))
|
||||
|
||||
# When building a module, link with the compiler runtime.
|
||||
# This should be linked after libapps. Consider that mbedtls in libapps
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue