Skip to content

Commit

Permalink
处理4.1.0之后RT_USING_LIBC的依赖问题
Browse files Browse the repository at this point in the history
  • Loading branch information
mysterywolf committed Jan 8, 2022
1 parent 39e7638 commit f7680fb
Show file tree
Hide file tree
Showing 44 changed files with 48 additions and 48 deletions.
2 changes: 1 addition & 1 deletion ai/elapack/Kconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# Kconfig file for package elapack
menuconfig PKG_USING_ELAPACK
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
bool "elapack: linear algebra library for embedded devices, compatible with matlab."
default n

Expand Down
4 changes: 2 additions & 2 deletions ai/libann/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ if PKG_USING_LIBANN

config LIBANN_USING_IRIS_TRAIN_AND_PREDICT
select RT_USING_DFS
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
bool "Iris train model and predict example"
help
Load Iris dataset, train, predict, and save model.
default n

config LIBANN_USING_IRIS_LOAD_AND_PREDICT
select RT_USING_DFS
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
bool "Iris load model and predict example"
help
Load Iris dataset, load model, predict, and save model.
Expand Down
2 changes: 1 addition & 1 deletion ai/naxos/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Kconfig file for package naxos
menuconfig PKG_USING_NAXOS
select RT_USING_CPLUSPLUS
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
bool "A C++ Constraint Programming Library"
default n

Expand Down
2 changes: 1 addition & 1 deletion ai/onnx-backend/Kconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# Kconfig file for package onnx-backend
menuconfig PKG_USING_ONNX_BACKEND
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
select PKG_USING_ONNX_PARSER
bool "onnx-backend: Open Neural Network Exchange backend on RT-Thread"
default n
Expand Down
2 changes: 1 addition & 1 deletion ai/onnx-parser/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Kconfig file for package onnx-parser
menuconfig PKG_USING_ONNX_PARSER
select PKG_USING_PROTOBUF_C
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
bool "onnx-parser: Open Neural Network Exchange model parser on RT-Thread"
default n

Expand Down
2 changes: 1 addition & 1 deletion ai/ulapack/Kconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# Kconfig file for package ulapack
menuconfig PKG_USING_ULAPACK
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
bool "ulapack: linear algebra library for embedded devices."
default n

Expand Down
4 changes: 2 additions & 2 deletions iot/atsrv_socket/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ if PKG_USING_ATSRV_SOCKET
prompt "Enable WLAN AT command"
default n
select RT_USING_SAL
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
select RT_USING_WIFI

config ATSRV_SOCKET_ENABLE_CMD_CWMODE
Expand Down Expand Up @@ -122,7 +122,7 @@ if PKG_USING_ATSRV_SOCKET
prompt "Enable TCP/IP AT command"
default n
select RT_USING_SAL
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
select RT_USING_WIFI

config ATSRV_SOCKET_ENABLE_CMD_CIPSTATUS
Expand Down
2 changes: 1 addition & 1 deletion iot/btstack/Kconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# Kconfig file for package BTSTACK
menuconfig PKG_USING_BTSTACK
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
select RT_USING_PTHREADS
select RT_USING_POSIX
select RT_USING_POSIX_TERMIOS
Expand Down
2 changes: 1 addition & 1 deletion iot/capnp/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Kconfig file for package capnp
menuconfig PKG_USING_CAPNP
select RT_USING_DFS
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
bool "capnp: Cap'n Proto serialization/RPC system which is faster than protobuf."
default n

Expand Down
2 changes: 1 addition & 1 deletion iot/libcurl2rtt/Kconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
menuconfig PKG_USING_LIBCURL2RTT
bool "libcurl2rtt: The curl library ported on the RT-Thread platform"
select RT_USING_SAL
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
select RT_USING_POSIX
select RT_USING_POSIX_TERMIOS
select PKG_USING_MBEDTLS
Expand Down
2 changes: 1 addition & 1 deletion iot/libmodbus/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
menuconfig PKG_USING_LIBMODBUS
bool "libmodbus: A Modbus library for RT-Thread"
default n
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
select RT_USING_DFS
select RT_USING_POSIX

Expand Down
2 changes: 1 addition & 1 deletion iot/librws/Kconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Kconfig file for package librws
menuconfig PKG_USING_LIBRWS
bool "librws: Tiny, cross platform websocket client C library"
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
select RT_USING_PTHREADS
select RT_USING_POSIX
default n
Expand Down
4 changes: 2 additions & 2 deletions iot/netutils/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ if PKG_USING_NETUTILS
if PKG_NETUTILS_VER_NUM >= 0x10200
config PKG_NETUTILS_TFTP
bool "Enable TFTP(Trivial File Transfer Protocol) server"
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
select RT_USING_SAL
select SAL_USING_POSIX
default n
endif

config PKG_NETUTILS_IPERF
bool "Enable iperf-liked network performance tool"
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
select RT_USING_SAL
select SAL_USING_POSIX
default n
Expand Down
2 changes: 1 addition & 1 deletion iot/rapidjson/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
menuconfig PKG_USING_RAPIDJSON
bool "rapidjson: A fast JSON parser/generator for C++ with both SAX/DOM style API."
select RT_USING_CPLUSPLUS
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
default n

if PKG_USING_RAPIDJSON
Expand Down
2 changes: 1 addition & 1 deletion iot/wiznet/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ menuconfig PKG_USING_WIZNET
default n
select RT_USING_PIN
select RT_USING_SPI
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
select RT_USING_SAL
select RT_USING_TIMER_SOFT

Expand Down
2 changes: 1 addition & 1 deletion language/Lua/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
menuconfig PKG_USING_LUA
bool "Lua: A lightweight, embeddable scripting language."
default n
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
select RT_USING_DFS

if PKG_USING_LUA
Expand Down
2 changes: 1 addition & 1 deletion language/jerryscript/Kconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

menuconfig PKG_USING_JERRYSCRIPT
bool "JerryScript: Ultra-lightweight JavaScript engine for the Internet of Things."
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
select RT_USING_DFS
default n

Expand Down
2 changes: 1 addition & 1 deletion language/micropython/Kconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

menuconfig PKG_USING_MICROPYTHON
bool "MicroPython: A lean and efficient Python implementation for microcontrollers and constrained systems."
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
select RT_USING_RTC
default n

Expand Down
2 changes: 1 addition & 1 deletion misc/libcsv/Kconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Kconfig file for package libcsv
menuconfig PKG_USING_LIBCSV
bool "libcsv: a small, simple and fast CSV library written in pure ANSI C89 that can read and write CSV data."
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
select RT_USING_DFS

if PKG_USING_LIBCSV
Expand Down
2 changes: 1 addition & 1 deletion misc/minizip/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ menuconfig PKG_USING_MINIZIP
bool "minizip: zip manipulation library"
select PKG_USING_ZLIB
select RT_USING_DFS
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
select RT_USING_POSIX
default n

Expand Down
2 changes: 1 addition & 1 deletion misc/ukal/Kconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# Kconfig file for package ukal
menuconfig PKG_USING_UKAL
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
select PKG_USING_ULAPACK
bool "ukal: Kalman filter based on ulapack."
default n
Expand Down
2 changes: 1 addition & 1 deletion multimedia/PDFGen/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Kconfig file for package PDFGen
menuconfig PKG_USING_PDFGEN
bool "PDFGen: Simple C PDF Writer/Generation library"
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
select RT_USING_DFS
default n

Expand Down
2 changes: 1 addition & 1 deletion multimedia/u8g2/u8g2-official/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ if PKG_USING_U8G2_OFFICIAL
config U8G2_USE_CPP
bool "Use C++"
select RT_USING_CPLUSPLUS
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
default n

menu "U8G2 Examples"
Expand Down
4 changes: 2 additions & 2 deletions multimedia/u8g2/u8g2/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ menuconfig PKG_USING_U8G2
bool "u8g2 (legacy): a monochrome graphic library"
select RT_USING_PIN
select RT_USING_CPLUSPLUS if (PKG_U8G2_VER_NUM > 0x20000 && PKG_U8G2_VER_NUM < 0x30000)
select RT_USING_LIBC if (PKG_U8G2_VER_NUM > 0x20000 && PKG_U8G2_VER_NUM < 0x30000)
select RT_USING_LIBC if (PKG_U8G2_VER_NUM > 0x20000 && PKG_U8G2_VER_NUM < 0x30000 && RT_VER_NUM < 0x40100)
default n

if PKG_USING_U8G2
Expand Down Expand Up @@ -43,7 +43,7 @@ if PKG_USING_U8G2
config U8G2_USE_CPP
bool "Use C++"
select RT_USING_CPLUSPLUS
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
default n
endif

Expand Down
2 changes: 1 addition & 1 deletion multimedia/wavplayer/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Kconfig file for package wavplayer
menuconfig PKG_USING_WAVPLAYER
select PKG_USING_OPTPARSE
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
select RT_USING_AUDIO
bool "WavPlayer: Minimal music player for wav file play and record"
default n
Expand Down
2 changes: 1 addition & 1 deletion peripherals/i2c-tools/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
menuconfig PKG_USING_I2C_TOOLS
bool "i2c-tools: a collection of i2c tools including scan/read/write"
select RT_USING_PIN
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
select RT_USING_I2C
select RT_USING_I2C_BITOPS
select RT_USING_CPLUSPLUS
Expand Down
2 changes: 1 addition & 1 deletion peripherals/kobuki/Kconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# Kconfig file for package kobuki
menuconfig PKG_USING_KOBUKI
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
bool "kobuki: Kobuki Robot serial communication driver."
default n

Expand Down
2 changes: 1 addition & 1 deletion peripherals/libnfc/Kconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# Kconfig file for package libnfc
menuconfig PKG_USING_LIBNFC
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
bool "libnfc: Platform independent Near Field Communication (NFC) library."
default n

Expand Down
2 changes: 1 addition & 1 deletion peripherals/micro_ros/Kconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# Kconfig file for package micro_ros
menuconfig PKG_USING_MICRO_ROS
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
bool "micro_ros: ROS 2 on microcontrollers."
default n

Expand Down
2 changes: 1 addition & 1 deletion peripherals/rosserial/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
menuconfig PKG_USING_ROSSERIAL
bool "rosserial: ROS 1 on microcontrollers."
select RT_USING_CPLUSPLUS
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
default n

if PKG_USING_ROSSERIAL
Expand Down
2 changes: 1 addition & 1 deletion peripherals/rplidar/Kconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# Kconfig file for package rplidar
menuconfig PKG_USING_RPLIDAR
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
bool "RPLIDAR: a low cost LIDAR sensor suitable for indoor robotic SLAM application."
default n

Expand Down
2 changes: 1 addition & 1 deletion system/Arm-2D/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Kconfig file for package Arm_2D
menuconfig PKG_USING_ARM_2D
bool "Arm-2D Graphics Library"
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
default n

if PKG_USING_ARM_2D
Expand Down
2 changes: 1 addition & 1 deletion system/Ppool/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ menuconfig PKG_USING_PPOOL
bool "Pthread-based thread pool library"
default n
select RT_USING_PTHREADS
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100


if PKG_USING_PPOOL
Expand Down
2 changes: 1 addition & 1 deletion system/fal/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Kconfig file for package fal
menuconfig PKG_USING_FAL
bool "fal: Flash Abstraction Layer implement. Manage flash device and partition."
select RT_USING_LIBC if PKG_FAL_VER_NUM <= 0x00300
select RT_USING_LIBC if (PKG_FAL_VER_NUM <= 0x00300 && RT_VER_NUM < 0x40100)
default n

if PKG_USING_FAL
Expand Down
2 changes: 1 addition & 1 deletion system/jffs2/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ menuconfig PKG_USING_DFS_JFFS2
bool "JFFS2: Journalling Flash File System V2."
select RT_USING_DFS
select RT_USING_MTD_NOR
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
select RT_USING_POSIX
default n

Expand Down
2 changes: 1 addition & 1 deletion system/lpm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Kconfig file for package lpm
menuconfig PKG_USING_LPM
bool "lpm: Logical partition management. Manage storage device and partition."
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
default n

if PKG_USING_LPM
Expand Down
2 changes: 1 addition & 1 deletion tools/CoreMark/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ menuconfig PKG_USING_COREMARK
if PKG_USING_COREMARK

config COREMARK_USE_FLOAT
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
bool "Show benchmark result in float number"
help
Show benchmark result in float number.
Expand Down
2 changes: 1 addition & 1 deletion tools/adbd/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
menuconfig PKG_USING_ADBD
bool "ADBD: Android Debug Bridge daemon implementation in RT-Thread"
select RT_USING_DFS
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
select RT_USING_POSIX
default n

Expand Down
2 changes: 1 addition & 1 deletion tools/anv_bench/Kconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# Kconfig file for package anv_bench
menuconfig PKG_USING_ANV_BENCH
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
select RT_USING_POSIX
bool "anv_bench: quick-and-dirty benchmarking system for quick prototyping."
default n
Expand Down
2 changes: 1 addition & 1 deletion tools/anv_memleak/Kconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# Kconfig file for package anv_memleak
menuconfig PKG_USING_ANV_MEMLEAK
select RT_USING_LIBC
select RT_USING_LIBC if RT_VER_NUM < 0x40100
select RT_USING_POSIX
bool "anv_memleak: check if there are memleaks"
default n
Expand Down
Loading

0 comments on commit f7680fb

Please sign in to comment.