diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-06-03 20:15:14 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-06-03 20:15:14 +1000 |
commit | 362b07685bc7d3c529db12370e550543a6e9c4ae (patch) | |
tree | 000fd5c8c4228dd2b00d154c73188935f1b3886e /Makefile | |
parent | fdff87f432c8be208323bd3ab8826b6468e15eda (diff) | |
download | cf-fsi-362b07685bc7d3c529db12370e550543a6e9c4ae.tar.gz cf-fsi-362b07685bc7d3c529db12370e550543a6e9c4ae.zip |
Add API version, FW version and system signature registers
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,6 +1,9 @@ # Main debug switch DEBUG ?= 0 +# FW version +FW_VERSION = 1 + # ARM compiler for userspace test code CROSS_COMPILE ?= arm-linux- CC = $(CROSS_COMPILE)gcc @@ -12,8 +15,10 @@ M68KAS=$(M68KCROSS)as M68KLD=$(M68KCROSS)ld M68KOC=$(M68KCROSS)objcopy +M68KCPPFLAGS = -DFW_VERSION=$(FW_VERSION) + ifeq ($(DEBUG),1) -M68KCPPFLAGS = -DENABLE_TRACE +M68KCPPFLAGS += -DENABLE_TRACE endif M68KAFLAGS = -march=isac M68KLDFLAGS = -Ttext 0 |