endif
ifneq ($(USE_DEVICEATLAS:0=),)
- # Use DEVICEATLAS_SRC and possibly DEVICEATLAS_INC and DEVICEATLAS_LIB to force path
- # to DeviceAtlas headers and libraries if needed. In this context, DEVICEATLAS_NOCACHE
- # can be used to disable the cache support if needed (this also removes the necessity of having
- # a C++ toolchain installed).
- DEVICEATLAS_INC = $(DEVICEATLAS_SRC)
- DEVICEATLAS_LIB = $(DEVICEATLAS_SRC)
- include addons/deviceatlas/Makefile.inc
- OPTIONS_OBJS += addons/deviceatlas/da.o
+ EXTRA_MAKE += addons/deviceatlas
endif
ifneq ($(USE_51DEGREES:0=),)
# DEVICEATLAS_SRC : DeviceAtlas API source root path
+# Use DEVICEATLAS_SRC and possibly DEVICEATLAS_INC and DEVICEATLAS_LIB to force path
+# to DeviceAtlas headers and libraries if needed. In this context, DEVICEATLAS_NOCACHE
+# can be used to disable the cache support if needed (this also removes the necessity of having
+# a C++ toolchain installed).
+DEVICEATLAS_INC = $(DEVICEATLAS_SRC)
+DEVICEATLAS_LIB = $(DEVICEATLAS_SRC)
+
CXX := c++
CXXLIB := -lstdc++
OPTIONS_OBJS += $(DEVICEATLAS_SRC)/Os/daunix.o
endif
+OPTIONS_OBJS += addons/deviceatlas/da.o
+
addons/deviceatlas/dummy/%.o: addons/deviceatlas/dummy/%.cpp
$(cmd_CXX) $(CXXFLAGS) -c -o $@ $<