mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-13 19:18:56 +00:00
detect absolute path to Makefile.include automagically
This commit is contained in:
parent
441bb3b513
commit
add928373f
@ -1,3 +1,6 @@
|
||||
TOP_DIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
|
||||
TOOLCHAIN_DIR := $(TOP_DIR)/../libopencm3
|
||||
|
||||
PREFIX ?= arm-none-eabi-
|
||||
CC = $(PREFIX)gcc
|
||||
LD = $(PREFIX)gcc
|
||||
@ -5,8 +8,6 @@ OBJCOPY = $(PREFIX)objcopy
|
||||
OBJDUMP = $(PREFIX)objdump
|
||||
FLASH = st-flash
|
||||
OPENOCD = openocd
|
||||
TOP_DIR = /home/stick/work/trezor/trezor-mcu
|
||||
TOOLCHAIN_DIR = $(TOP_DIR)/../libopencm3
|
||||
|
||||
OPTFLAGS = -Os -g
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user