mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-23 21:13:16 +00:00
c1c069e95f
* move f3-1 to f4, remove f3 * remove f2 * remove firmware F3 for pipeline * remove patch for F4 makefile * fix fw makefile * migrate bootloader to f4
23 lines
633 B
Makefile
23 lines
633 B
Makefile
PROJECT_ROOT = $(abspath $(dir $(abspath $(firstword $(MAKEFILE_LIST))))..)
|
|
PROJECT = firmware
|
|
|
|
CFLAGS += -Werror
|
|
CPPFLAGS += -Werror
|
|
|
|
include $(PROJECT_ROOT)/make/base.mk
|
|
include $(PROJECT_ROOT)/assets/assets.mk
|
|
include $(PROJECT_ROOT)/core/core.mk
|
|
include $(PROJECT_ROOT)/make/git.mk
|
|
include $(PROJECT_ROOT)/applications/applications.mk
|
|
include $(PROJECT_ROOT)/lib/lib.mk
|
|
|
|
TARGET ?= f4
|
|
|
|
TARGET_DIR = targets/$(TARGET)
|
|
|
|
include $(TARGET_DIR)/target.mk
|
|
CFLAGS += -Itargets/api-hal-include
|
|
|
|
include $(PROJECT_ROOT)/make/git.mk
|
|
include $(PROJECT_ROOT)/make/toolchain.mk
|
|
include $(PROJECT_ROOT)/make/rules.mk
|