Makefile 740 B

123456789101112131415161718192021
  1. #
  2. # This is a project Makefile. It is assumed the directory this Makefile resides in is a
  3. # project subdirectory.
  4. #
  5. PROJECT_NAME := bootloader
  6. #We cannot include the esp32 component directly but we need its includes.
  7. #This is fixed by adding CFLAGS from Makefile.projbuild
  8. COMPONENTS := esptool_py bootloader bootloader_support log spi_flash micro-ecc
  9. # The bootloader pseudo-component is also included in this build, for its Kconfig.projbuild to be included.
  10. #
  11. # IS_BOOTLOADER_BUILD tells the component Makefile.projbuild to be a no-op
  12. IS_BOOTLOADER_BUILD := 1
  13. export IS_BOOTLOADER_BUILD
  14. # include the top-level "project" include directory, for sdkconfig.h
  15. CFLAGS += -I$(BUILD_DIR_BASE)/../include
  16. include $(IDF_PATH)/make/project.mk