blob: 6f42b11afaa30fcc2fda4e4b991b418b399dff06 [file] [log] [blame]
Shad Ansari2f7f9be2017-06-07 13:34:53 -07001# Maple host configuration
2#
3# Set environment, extra flags, etc.
4# In particular, set CROSS_COMPILE
5# For linux environment make sure to set also OS_KERNEL=linux, KERNELDIR, KERNEL_OUTDIR and KERNEL_ARCH
6ifneq ("$(BOARD)", "")
7 include $(MAKE_DEVICE_DIR)/board.$(BOARD).config
8endif
9
10include $(MAKE_DEVICE_DIR)/$(TOOLCHAIN).opts
11
12export KERNELDIR
13export KERNEL_OUTDIR
14export KERNEL_ARCH
15export OS_KERNEL
16
17ifeq ("$(USE_ONU_SIM)", "y")
18 CFLAGS += -DCONFIG_ONU_SIM
19 export CONFIG_ONU_SIM := y
20endif
21
22LINT_FLAGS = -e686 $(MAKE_DEVICE_DIR)/gcc.lnt $(MAKE_DEVICE_DIR)/config.lnt
23