mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Bootloader: Export IS_BOOTLOADER_BUILD during make process
This commit is contained in:
parent
8e8caca2e2
commit
f37e70ebd6
@ -8,7 +8,7 @@
|
|||||||
# basically runs Make in the src/ directory but it needs to zero some variables
|
# basically runs Make in the src/ directory but it needs to zero some variables
|
||||||
# the ESP-IDF project.mk makefile exports first, to not let them interfere.
|
# the ESP-IDF project.mk makefile exports first, to not let them interfere.
|
||||||
#
|
#
|
||||||
ifeq ("$(IS_BOOTLOADER_BUILD)","")
|
ifndef IS_BOOTLOADER_BUILD
|
||||||
|
|
||||||
BOOTLOADER_COMPONENT_PATH := $(COMPONENT_PATH)
|
BOOTLOADER_COMPONENT_PATH := $(COMPONENT_PATH)
|
||||||
BOOTLOADER_BUILD_DIR=$(abspath $(BUILD_DIR_BASE)/bootloader)
|
BOOTLOADER_BUILD_DIR=$(abspath $(BUILD_DIR_BASE)/bootloader)
|
||||||
|
@ -10,6 +10,7 @@ COMPONENTS := esptool_py bootloader log
|
|||||||
#
|
#
|
||||||
# IS_BOOTLOADER_BUILD tells the component Makefile.projbuild to be a no-op
|
# IS_BOOTLOADER_BUILD tells the component Makefile.projbuild to be a no-op
|
||||||
IS_BOOTLOADER_BUILD := 1
|
IS_BOOTLOADER_BUILD := 1
|
||||||
|
export IS_BOOTLOADER_BUILD
|
||||||
|
|
||||||
#We cannot include the esp32 component directly but we need its includes.
|
#We cannot include the esp32 component directly but we need its includes.
|
||||||
#This is fixed by adding CFLAGS from Makefile.projbuild
|
#This is fixed by adding CFLAGS from Makefile.projbuild
|
||||||
|
Loading…
x
Reference in New Issue
Block a user