OVMS3/OVMS.V3/components/vehicle_renaultzoe_ph2/component.mk

15 lines
503 B
Makefile
Raw Normal View History

2022-04-08 23:03:19 +00:00
#
# Main component makefile.
#
# This Makefile can be left empty. By default, it will take the sources in the
# src/ directory, compile them and link them into lib(subdirectory_name).a
# in the build directory. This behaviour is entirely configurable,
# please read the ESP-IDF documents if you need to do this.
#
2022-04-10 18:30:54 +00:00
ifdef CONFIG_OVMS_VEHICLE_RENAULTZOE_PH2
2022-04-08 23:03:19 +00:00
COMPONENT_ADD_INCLUDEDIRS:=src
COMPONENT_SRCDIRS:=src
COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive
endif