blob: 6f42b11afaa30fcc2fda4e4b991b418b399dff06 [file] [log] [blame]
# Maple host configuration
#
# Set environment, extra flags, etc.
# In particular, set CROSS_COMPILE
# For linux environment make sure to set also OS_KERNEL=linux, KERNELDIR, KERNEL_OUTDIR and KERNEL_ARCH
ifneq ("$(BOARD)", "")
include $(MAKE_DEVICE_DIR)/board.$(BOARD).config
endif
include $(MAKE_DEVICE_DIR)/$(TOOLCHAIN).opts
export KERNELDIR
export KERNEL_OUTDIR
export KERNEL_ARCH
export OS_KERNEL
ifeq ("$(USE_ONU_SIM)", "y")
CFLAGS += -DCONFIG_ONU_SIM
export CONFIG_ONU_SIM := y
endif
LINT_FLAGS = -e686 $(MAKE_DEVICE_DIR)/gcc.lnt $(MAKE_DEVICE_DIR)/config.lnt