2016-08-17 23:08:22 +08:00
|
|
|
#
|
|
|
|
# This is a project Makefile. It is assumed the directory this Makefile resides in is a
|
|
|
|
# project subdirectory.
|
|
|
|
#
|
|
|
|
|
|
|
|
PROJECT_NAME := bootloader
|
2016-11-09 14:26:50 +11:00
|
|
|
|
|
|
|
#We cannot include the esp32 component directly but we need its includes.
|
|
|
|
#This is fixed by adding CFLAGS from Makefile.projbuild
|
2017-04-11 15:44:43 +08:00
|
|
|
COMPONENTS := esptool_py bootloader bootloader_support log spi_flash micro-ecc soc
|
2016-09-13 13:46:51 +10:00
|
|
|
|
|
|
|
# The bootloader pseudo-component is also included in this build, for its Kconfig.projbuild to be included.
|
|
|
|
#
|
|
|
|
# IS_BOOTLOADER_BUILD tells the component Makefile.projbuild to be a no-op
|
|
|
|
IS_BOOTLOADER_BUILD := 1
|
2016-10-21 17:44:34 +11:00
|
|
|
export IS_BOOTLOADER_BUILD
|
2016-08-17 23:08:22 +08:00
|
|
|
|
2016-11-09 14:26:50 +11:00
|
|
|
# include the top-level "project" include directory, for sdkconfig.h
|
|
|
|
CFLAGS += -I$(BUILD_DIR_BASE)/../include
|
2016-08-17 23:08:22 +08:00
|
|
|
|
2016-08-19 14:32:35 +08:00
|
|
|
include $(IDF_PATH)/make/project.mk
|