blob: 57cfb32379e793694b275c80578568da54681a84 [file] [log] [blame]
# Remote WRX board
#
export CONFIG_TRANSPORT_RAW = n
ifeq ("$(SUBSYSTEM)", "embedded")
$(error Can't build embedded subsystem for this board)
else
ARCH_FLAGS += -EB -mabi=64
TOOLCHAIN_PATH ?= /opt/toolchains/maple/toolchains_bin/mipscross/linux/bin
CROSS_COMPILE = $(TOOLCHAIN_PATH)/mips64-nlm-linux-
# a kludge here. If CONFIG_TRANSPORT_RAW is not set, that means that we are building for
# wrx, but not the same wrx where Maple is. For example, building for WRX that controls
# switch directly and maple remotely. In this case, we don't want any board-specific stuff
# to be compiled in (e.g., FPGA, I2C, etc.).
override BOARD =
# OS for user space
OS = posix
SIMULATION_BUILD = y
endif