Shad Ansari | 2f7f9be | 2017-06-07 13:34:53 -0700 | [diff] [blame^] | 1 | # Remote WRX board |
| 2 | # |
| 3 | export CONFIG_TRANSPORT_RAW = n |
| 4 | |
| 5 | ifeq ("$(SUBSYSTEM)", "embedded") |
| 6 | $(error Can't build embedded subsystem for this board) |
| 7 | else |
| 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 | |
| 23 | endif |
| 24 | |
| 25 | |