mirror of
https://github.com/Ai-Thinker-Open/Ai-Thinker-Open_RTL8710BX_ALIOS_SDK.git
synced 2025-03-19 11:12:55 +00:00
17 lines
444 B
Makefile
17 lines
444 B
Makefile
|
NAME := sal
|
||
|
|
||
|
$(NAME)_TYPE := kernel
|
||
|
ifneq (1,$(at_adapter))
|
||
|
GLOBAL_DEFINES += WITH_SAL # for sal general use
|
||
|
$(NAME)_SOURCES := sal_sockets.c sal_err.c sal_arch.c ip4_addr.c sal.c sal_device.c
|
||
|
GLOBAL_INCLUDES += ./include
|
||
|
endif
|
||
|
|
||
|
ifeq (wifi.gt202,$(module))
|
||
|
$(NAME)_COMPONENTS += sal.wifi.gt202
|
||
|
else ifeq (wifi.mk3060,$(module))
|
||
|
$(NAME)_COMPONENTS += sal.wifi.mk3060
|
||
|
else ifeq (gprs.sim800,$(module))
|
||
|
$(NAME)_COMPONENTS += sal.gprs.sim800
|
||
|
endif
|