esp-idf/components/bootloader/src/main/Makefile

14 lines
650 B
Makefile
Raw Normal View History

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