2016-08-17 15:08:22 +00:00
|
|
|
#
|
|
|
|
# Main Makefile. This is basically the same as a component makefile.
|
|
|
|
#
|
|
|
|
# This Makefile should, at the very least, just include $(SDK_PATH)/make/component.mk. By default,
|
|
|
|
# this 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,
|
2016-08-19 06:30:39 +00:00
|
|
|
# please read the esp-idf build system document if you need to do this.
|
2016-08-17 15:08:22 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
COMPONENT_ADD_LDFLAGS := -L $(abspath .) -lmain -T eagle.bootloader.ld -T $(SDK_PATH)/components/esp32/ld/eagle.fpga32.rom.addr.v7.ld
|
|
|
|
COMPONENT_EXTRA_INCLUDES := $(SDK_PATH)/components/esp32/include
|
|
|
|
|
|
|
|
include $(SDK_PATH)/make/component.mk
|