blob: 57cfb32379e793694b275c80578568da54681a84 [file] [log] [blame]
Shad Ansari2f7f9be2017-06-07 13:34:53 -07001# Remote WRX board
2#
3export CONFIG_TRANSPORT_RAW = n
4
5ifeq ("$(SUBSYSTEM)", "embedded")
6 $(error Can't build embedded subsystem for this board)
7else
8 ARCH_FLAGS += -EB -mabi=64
9 TOOLCHAIN_PATH ?= /opt/toolchains/maple/toolchains_bin/mipscross/linux/bin
10 CROSS_COMPILE = $(TOOLCHAIN_PATH)/mips64-nlm-linux-
11
12 # a kludge here. If CONFIG_TRANSPORT_RAW is not set, that means that we are building for
13 # wrx, but not the same wrx where Maple is. For example, building for WRX that controls
14 # switch directly and maple remotely. In this case, we don't want any board-specific stuff
15 # to be compiled in (e.g., FPGA, I2C, etc.).
16 override BOARD =
17
18 # OS for user space
19 OS = posix
20
21 SIMULATION_BUILD = y
22
23endif
24
25