mirror of
https://github.com/ayabusa/Numworks-zeta-os.git
synced 2024-11-21 18:53:24 +00:00
updated workflow
This commit is contained in:
parent
c53a4a17b9
commit
8041627ca3
3
.github/workflows/makefile.yml
vendored
3
.github/workflows/makefile.yml
vendored
@ -6,6 +6,9 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main" ]
|
branches: [ "main" ]
|
||||||
|
|
||||||
|
env:
|
||||||
|
RUN_IN_GITHUB_ACTION: TRUE
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
|
@ -9,14 +9,19 @@ LD_SCRIPT = $(SRC_DIR)/linker.ld
|
|||||||
MCU_SPEC = cortex-m7
|
MCU_SPEC = cortex-m7
|
||||||
|
|
||||||
# Toolchain definitions (ARM bare metal defaults)
|
# Toolchain definitions (ARM bare metal defaults)
|
||||||
TOOLCHAIN = /usr
|
ifeq ($(RUN_IN_GITHUB_ACTION),"TRUE")
|
||||||
CP = $(TOOLCHAIN)/bin/arm-none-eabi-g++
|
TOOLCHAIN = $(ARM_NONE_EABI_GCC_PATH)
|
||||||
CC = $(TOOLCHAIN)/bin/arm-none-eabi-gcc
|
else
|
||||||
AS = $(TOOLCHAIN)/bin/arm-none-eabi-as
|
TOOLCHAIN = /usr/bin
|
||||||
LD = $(TOOLCHAIN)/bin/arm-none-eabi-ld
|
endif
|
||||||
OC = $(TOOLCHAIN)/bin/arm-none-eabi-objcopy
|
|
||||||
OD = $(TOOLCHAIN)/bin/arm-none-eabi-objdump
|
CP = $(TOOLCHAIN)/arm-none-eabi-g++
|
||||||
OS = $(TOOLCHAIN)/bin/arm-none-eabi-size
|
CC = $(TOOLCHAIN)/arm-none-eabi-gcc
|
||||||
|
AS = $(TOOLCHAIN)/arm-none-eabi-as
|
||||||
|
LD = $(TOOLCHAIN)/arm-none-eabi-ld
|
||||||
|
OC = $(TOOLCHAIN)/arm-none-eabi-objcopy
|
||||||
|
OD = $(TOOLCHAIN)/arm-none-eabi-objdump
|
||||||
|
OS = $(TOOLCHAIN)/arm-none-eabi-size
|
||||||
|
|
||||||
# Assembly directives.
|
# Assembly directives.
|
||||||
ASFLAGS += -c
|
ASFLAGS += -c
|
||||||
|
Loading…
Reference in New Issue
Block a user