| # 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 |
| |