2022-03-03 09:48:56 +00:00
|
|
|
MAKEFILE_DIR := $(dir $(abspath $(firstword $(MAKEFILE_LIST))))
|
|
|
|
PROJECT_ROOT := $(abspath $(MAKEFILE_DIR)/..)
|
2020-10-07 09:37:43 +00:00
|
|
|
|
|
|
|
include $(PROJECT_ROOT)/make/base.mk
|
2021-07-25 12:37:43 +00:00
|
|
|
include $(PROJECT_ROOT)/make/freertos-heap.mk
|
2020-10-26 17:00:17 +00:00
|
|
|
include $(PROJECT_ROOT)/assets/assets.mk
|
2020-10-07 09:37:43 +00:00
|
|
|
include $(PROJECT_ROOT)/core/core.mk
|
|
|
|
include $(PROJECT_ROOT)/applications/applications.mk
|
2020-10-20 12:25:01 +00:00
|
|
|
include $(PROJECT_ROOT)/lib/lib.mk
|
2020-10-07 09:37:43 +00:00
|
|
|
|
2022-01-05 16:10:18 +00:00
|
|
|
CFLAGS += -I$(PROJECT_ROOT) -Itargets/furi_hal_include
|
2021-07-18 18:09:00 +00:00
|
|
|
CFLAGS += -Werror -Wno-address-of-packed-member
|
|
|
|
CPPFLAGS += -Werror
|
2021-02-01 07:51:22 +00:00
|
|
|
|
2021-11-18 08:46:47 +00:00
|
|
|
include $(PROJECT_ROOT)/make/defaults.mk
|
2020-10-07 09:37:43 +00:00
|
|
|
TARGET_DIR = targets/$(TARGET)
|
|
|
|
include $(TARGET_DIR)/target.mk
|
|
|
|
|
2022-04-13 20:50:25 +00:00
|
|
|
ifeq ($(RAM_EXEC), 0)
|
|
|
|
PROJECT := firmware
|
|
|
|
else
|
|
|
|
PROJECT := updater
|
|
|
|
endif
|
|
|
|
|
2020-11-06 09:31:06 +00:00
|
|
|
include $(PROJECT_ROOT)/make/git.mk
|
2020-10-07 09:37:43 +00:00
|
|
|
include $(PROJECT_ROOT)/make/toolchain.mk
|
|
|
|
include $(PROJECT_ROOT)/make/rules.mk
|