forked from nkolban/esp32-snippets
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomponent.mk
More file actions
35 lines (32 loc) · 757 Bytes
/
component.mk
File metadata and controls
35 lines (32 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
c := cpp_utils
COMPONENT_EXTRA_INCLUDES := $(realpath $c)
COMPONENT_ADD_INCLUDEDIRS := $c
COMPONENT_SRCDIRS := $c
$(call compile_only_if,$(CONFIG_NKOLBAN), \
$c/Task.o \
$c/FreeRTOS.o \
$c/GeneralUtils.o \
)
$(call compile_only_if,$(CONFIG_NKOLBAN_BLE), \
$c/BLEAddress.o \
$c/BLEAdvertisedDevice.o \
$c/BLEAdvertising.o \
$c/BLECharacteristic.o \
$c/BLECharacteristicCallbacks.o \
$c/BLECharacteristicMap.o \
$c/BLEClient.o \
$c/BLEDescriptor.o \
$c/BLEDescriptorMap.o \
$c/BLEDevice.o \
$c/BLERemoteCharacteristic.o \
$c/BLERemoteDescriptor.o \
$c/BLERemoteService.o \
$c/BLEScan.o \
$c/BLEServer.o \
$c/BLEService.o \
$c/BLEServiceMap.o \
$c/BLEUUID.o \
$c/BLEUtils.o \
$c/BLEValue.o \
)
$(call compile_only_if,$(CONFIG_NKOLBAN_BLE2902),$c/BLE2902.o)