nuttx-apps/import
Justin Hammond 82c1e7d9be import: Link libnx for graphics applications in a kernel build.
The link line for applications in a kernel build is libmm, libc and the
proxies.  libnx is never named, though the export has been shipping it
all along.  So every application built on NX or NXFONTS fails to link,
the nx examples and fbcon alike, with undefined references to the font
and geometry routines.

Name it, ahead of libc since it calls into it, and only when CONFIG_NX
is set so that configurations without graphics are unaffected.

Tested on an EIC7700 EVB in a kernel build: with this, an application
built on NXFONTS links and runs; without it the same application fails
at link time.

Assisted-by: Claude:claude-opus-5
Signed-off-by: Justin Hammond <justin@dynam.ac>
2026-08-09 03:18:40 +08:00
..
.gitignore build: Remve the unnecessary .gitignore 2020-05-23 15:56:35 +01:00
Make.defs import: Link libnx for graphics applications in a kernel build. 2026-08-09 03:18:40 +08:00
Makefile import: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00