mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-03 07:21:36 +08:00
Rename makefiles to help categorise them.
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
#
|
||||
|
||||
CONFIG = px4fmu_default
|
||||
PLATFORM = px4fmu
|
||||
SRCS = $(PX4_BASE)/platforms/empty.c
|
||||
|
||||
include $(PX4_BASE)/makefiles/firmware.mk
|
||||
@@ -3,7 +3,6 @@
|
||||
#
|
||||
|
||||
CONFIG = px4io_default
|
||||
PLATFORM = px4io
|
||||
SRCS = $(PX4_BASE)/platforms/empty.c
|
||||
|
||||
include $(PX4_BASE)/makefiles/firmware.mk
|
||||
@@ -84,7 +84,7 @@ $(error At least one of the PLATFORM or CONFIG variables must be set before incl
|
||||
endif
|
||||
PLATFORM := $(firstword $(subst _, ,$(CONFIG)))
|
||||
endif
|
||||
include $(PX4_MK_INCLUDE)/$(PLATFORM).mk
|
||||
include $(PX4_MK_INCLUDE)/platform_$(PLATFORM).mk
|
||||
|
||||
#
|
||||
# Makefile debugging.
|
||||
|
||||
@@ -7,4 +7,4 @@
|
||||
#
|
||||
CONFIG_ARCH = CORTEXM4F
|
||||
|
||||
include $(PX4_MK_INCLUDE)/gnu-arm-eabi.mk
|
||||
include $(PX4_MK_INCLUDE)/toolchain_gnu-arm-eabi.mk
|
||||
@@ -7,4 +7,4 @@
|
||||
#
|
||||
CONFIG_ARCH = CORTEXM3
|
||||
|
||||
include $(PX4_MK_INCLUDE)/gnu-arm-eabi.mk
|
||||
include $(PX4_MK_INCLUDE)/toolchain_gnu-arm-eabi.mk
|
||||
Reference in New Issue
Block a user