Commit 56317d1f authored by Juliano Murari's avatar Juliano Murari

Makefile: add default board and shift macro

As we can have multiple boards, we default to
the ml605.

Also, the FPGA acquisiton core is WORD addressed
for now, so we use a temporary workaround to
address its registers. To be fixed soon!
parent 8f83c54d
...@@ -11,6 +11,9 @@ OBJCOPY = $(CROSS_COMPILE)objcopy ...@@ -11,6 +11,9 @@ OBJCOPY = $(CROSS_COMPILE)objcopy
SIZE = $(CROSS_COMPILE)size SIZE = $(CROSS_COMPILE)size
MAKE = make MAKE = make
# Select board in which we will work. Options are: ml605, afc
BOARD = ml605
INSTALL_DIR ?= /usr/lib INSTALL_DIR ?= /usr/lib
export INSTALL_DIR export INSTALL_DIR
...@@ -19,7 +22,7 @@ export INSTALL_DIR ...@@ -19,7 +22,7 @@ export INSTALL_DIR
KERNEL_DIR = kernel KERNEL_DIR = kernel
# General C flags # General C flags
CFLAGS = -std=gnu99 -O2 CFLAGS = -std=gnu99 -O2 -DWR_SHIFT=2
LOCAL_MSG_DBG ?= n LOCAL_MSG_DBG ?= n
DBE_DBG ?= n DBE_DBG ?= n
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment