No description
Find a file
Huang Qi 49dd1e0ff0 tools: Export LLVM flags for kernel build
Summary:
- Added LLVM_ARCHTYPE, LLVM_CPUTYPE, and LLVM_ABITYPE to the exported build configuration in both `Export.mk` and `mkexport.sh`
- These flags are now included in the generated `makeinfo.sh`, `Make.defs`, and `target.cmake` files during the export process

Impact:
- Enables LLVM-specific build configurations to be properly exported and used in kernel builds
- Improves compatibility with LLVM-based toolchains by ensuring necessary architecture, CPU, and ABI information is available during the build process
- No functional changes for non-LLVM builds, as these flags are only used when LLVM toolchains are specified

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2025-01-26 20:22:35 +08:00
.github .github/ISSUE_TEMPLATE: Add host_info command section into bug report template 2025-01-21 09:11:17 +08:00
arch Fix wrong variable name. lock -> eth_lock 2025-01-24 13:40:55 +08:00
audio Fix some minor style issues 2024-11-20 10:51:07 +01:00
binfmt macro/align: Use ALIGN_UP and ALIGN_DOWN uniformly 2025-01-12 16:48:35 +08:00
boards nuttx:fix tools-mm to heap 2025-01-24 14:16:47 +08:00
cmake [cmake] savedefconfig.cmake: fix EOL changes to defconfig files on Windows 2025-01-23 02:34:50 +08:00
crypto crypto/xform.c: migrate to SPDX identifier 2024-12-19 14:48:18 +08:00
Documentation boards/stm32h7: Fix wrong usbnsh name and fix Documentation 2025-01-24 09:10:04 +08:00
drivers Fix Kconfig style 2025-01-23 23:01:54 +08:00
dummy build: add initial cmake build system 2023-07-08 13:50:48 +08:00
fs fs/spinlock: replace no sched_lock() version to improve the performance 2025-01-24 11:48:23 +08:00
graphics move readv/writev to the kernel 2024-10-30 17:07:54 +08:00
include coredump: fix issue that nvic region overlapped by board memory region 2025-01-24 09:15:56 +08:00
libs spinlock: Due to semantic inconsistency, remove/rename some functions with the _wo_note suffix. 2025-01-23 19:58:49 +08:00
mm Fix Kconfig style 2025-01-23 23:01:54 +08:00
net inet_sockif:support multiple iov recv 2025-01-20 17:12:14 +08:00
openamp Remove all jira and changeid information from the kernel 2024-11-06 02:04:03 +08:00
pass1 Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
sched No need to call sched_lock explicitly after call spin_lock_irqsave, since it will be called in func spin_lock_irqsave. 2025-01-24 17:27:50 +08:00
syscall syscall: add missing epoll API 2025-01-24 01:30:02 +08:00
tools tools: Export LLVM flags for kernel build 2025-01-26 20:22:35 +08:00
video Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
wireless bt_buf: use small lock in wireless/bluetooth/bt_buf.c 2024-12-18 18:11:08 +08:00
.asf.yaml feat: add a GitHub action to lint the YAML files 2020-12-15 09:52:04 -06:00
.gitignore gitignore: add Emacs auto-save files 2025-01-15 16:10:22 +08:00
.pre-commit-config.yaml Created pre-commit config file 2024-08-19 21:40:56 +02:00
.yamllint feat: add a GitHub action to lint the YAML files 2020-12-15 09:52:04 -06:00
AUTHORS AUTHORS: add Yamamoto Takashi 2024-11-04 22:29:22 +08:00
CMakeLists.txt Revert "kconfiglib/mark: It should use pip instead of apt install" 2025-01-13 19:12:25 -03:00
CONTRIBUTING.md Contributing and PR template fix. 2024-10-12 08:12:05 +08:00
INVIOLABLES.md
Kconfig debug symbol level: Use config instead 2024-12-04 22:36:45 +08:00
LICENSE libc string:Separate code. 2024-10-23 09:49:19 +08:00
Makefile tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
NOTICE Remove the double blank line from source files 2022-02-20 20:10:14 +01:00
README.md Gathering community recommendations 2023-10-28 13:55:56 +08:00
ReleaseNotes Documentation: move ReleaseNotes 2023-09-26 20:41:00 +08:00

POSIX Badge License Issues Tracking Badge Contributors GitHub Build Badge Documentation Badge

Apache NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOSs (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).

For brevity, many parts of the documentation will refer to Apache NuttX as simply NuttX.

Getting Started

First time on NuttX? Read the Getting Started guide! If you don't have a board available, NuttX has its own simulator that you can run on terminal.

Documentation

You can find the current NuttX documentation on the Documentation Page.

Alternatively, you can build the documentation yourself by following the Documentation Build Instructions.

The old NuttX documentation is still available in the Apache wiki.

Supported Boards

NuttX supports a wide variety of platforms. See the full list on the Supported Platforms page.

Contributing

If you wish to contribute to the NuttX project, read the Contributing guidelines for information on Git usage, coding standard, workflow and the NuttX principles.

License

The code in this repository is under either the Apache 2 license, or a license compatible with the Apache 2 license. See the License Page for more information.