blob: 9ca4ae0ee1920f454a23fccfdf77537bd4990248 [file] [log] [blame]
Shad Ansari2f7f9be2017-06-07 13:34:53 -07001# WRX board
2#
3
4export CONFIG_MAC_RPC ?= n
5export CONFIG_SWITCH_RPC ?= n
6
7# Kernel tree and toolchain
8BOARD_DIR ?= $(TOP_DIR)/../boards/cur/$(BOARD)
9KERNEL_BRCM_VER = 3.0.2-m1.01
10TOOLCHAIN_PATH ?= /opt/toolchains/maple/toolchains_bin/mipscross/linux/bin
11CROSS_COMPILE = $(TOOLCHAIN_PATH)/mips64-nlm-linux-
12CROSS_LIB_PATH = $(TOOLCHAIN_PATH)/../mips64-nlm-linux/lib64
13CONFIGURE_TARGET = mips64-nlm-linux
14export TOOLCHAIN_PATH
15export CROSS_COMPILE
16export CONFIGURE_TARGET
17
18# In the moment we don't plan to build any kernel modules
19# if/when we do set OD_KERNEL=linux
20export OS_KERNEL= posix
21
22# OS for user space
23OS = posix
24
25# The following group is only needed if we decide that do need linux kernel modules
26# In this case OS_KERNEL above must be set =linux and a few additions are needed in the source tree
27KERNELDIR = $(BOARD_DIR)/linux/$(KERNEL_BRCM_VER)/linux
28KERNEL_OUTDIR ?= $(KERNELDIR)
29export KERNELDIR
30export KERNEL_OUTDIR
31KERNEL_ARCH = mips
32ARCH_FLAGS += -EB -mabi=64
33LD_ARCH_FLAGS += -melf64btsmip
34HOST_BIG_ENDIAN ?= y
35
36export KERNEL_ARCH
37export ARCH_FLAGS
38
39export KERNEL_TAR_NAME = wrx_linux-sdk.tar.bz2
40export LIBS_TAR_NAME = libraries.tar.bz2
41
42
43ifeq ("$(SUBSYSTEM)", "core")
44 # Core-specific stuff
45endif
46
47ifeq ("$(SUBSYSTEM)", "apps")
48 # Apps-specific stuff
49endif