mirror of https://github.com/rusefi/ChibiOS.git
Better makefiles for ports.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16728 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
fc9f517bd8
commit
4c51c7dd4b
|
@ -0,0 +1,13 @@
|
|||
# Compiler portability subsystem build.
|
||||
|
||||
# Required files.
|
||||
ifndef CCPORTABSRC
|
||||
CCPORTABSRC =
|
||||
ALLCSRC += $(CCPORTABSRC)
|
||||
endif
|
||||
|
||||
# Required include directories
|
||||
ifndef CCPORTABINC
|
||||
CCPORTABINC = ${CHIBIOS}/os/common/portability/GCC
|
||||
ALLINC += $(CCPORTABINC)
|
||||
endif
|
|
@ -1,14 +1,14 @@
|
|||
# List of the ChibiOS/RT ARM generic port files.
|
||||
|
||||
# Dependencies.
|
||||
include $(CHIBIOS)/os/common/portability/GCC/ccportab.mk
|
||||
include $(CHIBIOS)/os/common/ports/ARM-common/arm-common.mk
|
||||
|
||||
PORTSRC = ${CHIBIOS}/os/common/ports/ARM/chcore.c
|
||||
|
||||
PORTASM = $(CHIBIOS)/os/common/ports/ARM/compilers/GCC/chcoreasm.S
|
||||
|
||||
PORTINC = $(CHIBIOS)/os/common/portability/GCC \
|
||||
${CHIBIOS}/os/common/ports/ARM \
|
||||
PORTINC = ${CHIBIOS}/os/common/ports/ARM \
|
||||
${CHIBIOS}/os/common/ports/ARM/compilers/GCC
|
||||
|
||||
# Shared variables
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
# List of the ChibiOS/RT RP2 port files.
|
||||
|
||||
# Dependencies.
|
||||
include $(CHIBIOS)/os/common/portability/GCC/ccportab.mk
|
||||
include $(CHIBIOS)/os/common/ports/ARM-common/arm-common.mk
|
||||
|
||||
PORTSRC = $(CHIBIOS)/os/common/ports/ARMv6-M-RP2/chcore.c
|
||||
|
||||
PORTASM = $(CHIBIOS)/os/common/ports/ARMv6-M-RP2/compilers/GCC/chcoreasm.S
|
||||
|
||||
PORTINC = $(CHIBIOS)/os/common/portability/GCC \
|
||||
$(CHIBIOS)/os/common/ports/ARMv6-M-RP2
|
||||
PORTINC = $(CHIBIOS)/os/common/ports/ARMv6-M-RP2
|
||||
|
||||
# Shared variables
|
||||
ALLXASMSRC += $(PORTASM)
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
# List of the ChibiOS/RT Cortex-M0 port files.
|
||||
|
||||
# Dependencies.
|
||||
include $(CHIBIOS)/os/common/portability/GCC/ccportab.mk
|
||||
include $(CHIBIOS)/os/common/ports/ARM-common/arm-common.mk
|
||||
|
||||
PORTSRC = $(CHIBIOS)/os/common/ports/ARMv6-M/chcore.c
|
||||
|
||||
PORTASM = $(CHIBIOS)/os/common/ports/ARMv6-M/compilers/GCC/chcoreasm.S
|
||||
|
||||
PORTINC = $(CHIBIOS)/os/common/portability/GCC \
|
||||
$(CHIBIOS)/os/common/ports/ARMv6-M
|
||||
PORTINC = $(CHIBIOS)/os/common/ports/ARMv6-M
|
||||
|
||||
# Shared variables
|
||||
ALLXASMSRC += $(PORTASM)
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# List of the ChibiOS/RT ARMv7M generic port files.
|
||||
|
||||
# Dependencies.
|
||||
include $(CHIBIOS)/os/common/portability/GCC/ccportab.mk
|
||||
include $(CHIBIOS)/os/common/ports/ARM-common/arm-common.mk
|
||||
|
||||
PORTSRC = $(CHIBIOS)/os/common/ports/ARMv7-M-ALT/chcore.c \
|
||||
|
@ -8,8 +9,7 @@ PORTSRC = $(CHIBIOS)/os/common/ports/ARMv7-M-ALT/chcore.c \
|
|||
|
||||
PORTASM = $(CHIBIOS)/os/common/ports/ARMv7-M-ALT/compilers/GCC/chcoreasm.S
|
||||
|
||||
PORTINC = $(CHIBIOS)/os/common/portability/GCC \
|
||||
$(CHIBIOS)/os/common/ports/ARMv7-M-ALT
|
||||
PORTINC = $(CHIBIOS)/os/common/ports/ARMv7-M-ALT
|
||||
|
||||
# Shared variables
|
||||
ALLXASMSRC += $(PORTASM)
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
# List of the ChibiOS/RT ARMv7M generic port files.
|
||||
|
||||
# Dependencies.
|
||||
include $(CHIBIOS)/os/common/portability/GCC/ccportab.mk
|
||||
include $(CHIBIOS)/os/common/ports/ARM-common/arm-common.mk
|
||||
|
||||
PORTSRC = $(CHIBIOS)/os/common/ports/ARMv7-M/chcore.c
|
||||
|
||||
PORTASM = $(CHIBIOS)/os/common/ports/ARMv7-M/compilers/GCC/chcoreasm.S
|
||||
|
||||
PORTINC = $(CHIBIOS)/os/common/portability/GCC \
|
||||
$(CHIBIOS)/os/common/ports/ARMv7-M
|
||||
PORTINC = $(CHIBIOS)/os/common/ports/ARMv7-M
|
||||
|
||||
# Shared variables
|
||||
ALLXASMSRC += $(PORTASM)
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
# List of the ChibiOS/RT ARMv8-M mainline generic port files.
|
||||
|
||||
# Dependencies.
|
||||
include $(CHIBIOS)/os/common/portability/GCC/ccportab.mk
|
||||
include $(CHIBIOS)/os/common/ports/ARM-common/arm-common.mk
|
||||
|
||||
PORTSRC = $(CHIBIOS)/os/common/ports/ARMv8-M-ML-ALT/chcore.c
|
||||
|
||||
PORTASM = $(CHIBIOS)/os/common/ports/ARMv8-M-ML-ALT/compilers/GCC/chcoreasm.S
|
||||
|
||||
PORTINC = $(CHIBIOS)/os/common/portability/GCC \
|
||||
$(CHIBIOS)/os/common/ports/ARMv8-M-ML-ALT
|
||||
PORTINC = $(CHIBIOS)/os/common/ports/ARMv8-M-ML-ALT
|
||||
|
||||
# Shared variables
|
||||
ALLXASMSRC += $(PORTASM)
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
# List of the ChibiOS/RT ARMv8-M mainline generic port files.
|
||||
|
||||
# Dependencies.
|
||||
include $(CHIBIOS)/os/common/portability/GCC/ccportab.mk
|
||||
include $(CHIBIOS)/os/common/ports/ARM-common/arm-common.mk
|
||||
|
||||
PORTSRC = $(CHIBIOS)/os/common/ports/ARMv8-M-ML-TZ/chcore.c
|
||||
|
||||
PORTASM = $(CHIBIOS)/os/common/ports/ARMv8-M-ML-TZ/compilers/GCC/chcoreasm.S
|
||||
|
||||
PORTINC = $(CHIBIOS)/os/common/portability/GCC \
|
||||
$(CHIBIOS)/os/common/ports/ARMv8-M-ML-TZ
|
||||
PORTINC = $(CHIBIOS)/os/common/ports/ARMv8-M-ML-TZ
|
||||
|
||||
# Shared variables
|
||||
ALLXASMSRC += $(PORTASM)
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
# List of the ChibiOS ARMv8M-MainLine alternate generic port files.
|
||||
|
||||
# Dependencies.
|
||||
include $(CHIBIOS)/os/common/portability/GCC/ccportab.mk
|
||||
include $(CHIBIOS)/os/common/ports/ARM-common/arm-common.mk
|
||||
|
||||
PORTSRC = $(CHIBIOS)/os/common/ports/ARMv8-M-ML/chcore.c
|
||||
|
||||
PORTASM = $(CHIBIOS)/os/common/ports/ARMv8-M-ML/compilers/GCC/chcoreasm.S
|
||||
|
||||
PORTINC = $(CHIBIOS)/os/common/portability/GCC \
|
||||
$(CHIBIOS)/os/common/ports/ARMv8-M-ML
|
||||
PORTINC = $(CHIBIOS)/os/common/ports/ARMv8-M-ML
|
||||
|
||||
# Shared variables
|
||||
ALLXASMSRC += $(PORTASM)
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# List of the ChibiOS ARMv7/8-M for sandboxes generic port files.
|
||||
|
||||
# Dependencies.
|
||||
include $(CHIBIOS)/os/common/portability/GCC/ccportab.mk
|
||||
include $(CHIBIOS)/os/common/ports/ARM-common/arm-common.mk
|
||||
|
||||
PORTSRC = $(CHIBIOS)/os/common/ports/ARMvx-M-SB/chcore.c
|
||||
|
@ -8,8 +9,7 @@ PORTSRC = $(CHIBIOS)/os/common/ports/ARMvx-M-SB/chcore.c
|
|||
PORTASM = $(CHIBIOS)/os/common/ports/ARMvx-M-SB/compilers/GCC/vectors.S \
|
||||
$(CHIBIOS)/os/common/ports/ARMvx-M-SB/compilers/GCC/chcoreasm.S
|
||||
|
||||
PORTINC = $(CHIBIOS)/os/common/portability/GCC \
|
||||
$(CHIBIOS)/os/common/ports/ARMvx-M-SB
|
||||
PORTINC = $(CHIBIOS)/os/common/ports/ARMvx-M-SB
|
||||
|
||||
# Shared variables
|
||||
ALLXASMSRC += $(PORTASM)
|
||||
|
|
|
@ -1,10 +1,13 @@
|
|||
# List of the ChibiOS/RT AVR port files.
|
||||
|
||||
# Dependencies.
|
||||
include $(CHIBIOS)/os/common/portability/GCC/ccportab.mk
|
||||
|
||||
PORTSRC = ${CHIBIOS}/os/common/ports/AVR/chcore.c
|
||||
|
||||
PORTASM =
|
||||
|
||||
PORTINC = $(CHIBIOS)/os/common/portability/GCC \
|
||||
${CHIBIOS}/os/common/ports/AVR \
|
||||
PORTINC = ${CHIBIOS}/os/common/ports/AVR \
|
||||
${CHIBIOS}/os/common/ports/AVR/compilers/GCC
|
||||
|
||||
# Shared variables
|
||||
|
|
|
@ -1,10 +1,13 @@
|
|||
# List of the ChibiOS/RT SIMIA32 port files.
|
||||
|
||||
# Dependencies.
|
||||
include $(CHIBIOS)/os/common/portability/GCC/ccportab.mk
|
||||
|
||||
PORTSRC = ${CHIBIOS}/os/common/ports/SIMIA32/chcore.c
|
||||
|
||||
PORTASM =
|
||||
|
||||
PORTINC = $(CHIBIOS)/os/common/portability/GCC \
|
||||
${CHIBIOS}/os/common/ports/SIMIA32/compilers/GCC \
|
||||
PORTINC = ${CHIBIOS}/os/common/ports/SIMIA32/compilers/GCC \
|
||||
${CHIBIOS}/os/common/ports/SIMIA32
|
||||
|
||||
# Shared variables
|
||||
|
|
|
@ -1,11 +1,14 @@
|
|||
# List of the ChibiOS/RT e200 generic port files.
|
||||
|
||||
# Dependencies.
|
||||
include $(CHIBIOS)/os/common/portability/GCC/ccportab.mk
|
||||
|
||||
PORTSRC = $(CHIBIOS)/os/common/ports/e200/chcore.c
|
||||
|
||||
PORTASM = $(CHIBIOS)/os/common/ports/e200/compilers/GCC/ivor.S \
|
||||
$(CHIBIOS)/os/common/ports/e200/compilers/GCC/chcoreasm.S
|
||||
|
||||
PORTINC = $(CHIBIOS)/os/common/portability/GCC \
|
||||
$(CHIBIOS)/os/common/ports/e200 \
|
||||
PORTINC = $(CHIBIOS)/os/common/ports/e200 \
|
||||
$(CHIBIOS)/os/common/ports/e200/compilers/GCC
|
||||
|
||||
# Shared variables
|
||||
|
|
Loading…
Reference in New Issue