mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
cmake nuttx build net if enabled
This commit is contained in:
committed by
Lorenz Meier
parent
3c252d973d
commit
c1c176d65b
@@ -202,6 +202,10 @@ add_nuttx_dir(c libc n "")
|
||||
add_nuttx_dir(cxx libxx n "")
|
||||
add_nuttx_dir(mm mm n "")
|
||||
|
||||
if (CONFIG_NET)
|
||||
add_nuttx_dir(net net y -D__KERNEL__)
|
||||
endif()
|
||||
|
||||
# oldconfig helper
|
||||
add_custom_target(oldconfig
|
||||
COMMAND make --no-print-directory --silent -C ${NUTTX_DIR} CONFIG_ARCH_BOARD=${BOARD} oldconfig
|
||||
|
||||
Reference in New Issue
Block a user