Shad Ansari | 2f7f9be | 2017-06-07 13:34:53 -0700 | [diff] [blame] | 1 | # 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 |
| 6 | ifneq ("$(BOARD)", "") |
| 7 | include $(MAKE_DEVICE_DIR)/board.$(BOARD).config |
| 8 | endif |
| 9 | |
| 10 | include $(MAKE_DEVICE_DIR)/$(TOOLCHAIN).opts |
| 11 | |
| 12 | export KERNELDIR |
| 13 | export KERNEL_OUTDIR |
| 14 | export KERNEL_ARCH |
| 15 | export OS_KERNEL |
| 16 | |
| 17 | ifeq ("$(USE_ONU_SIM)", "y") |
| 18 | CFLAGS += -DCONFIG_ONU_SIM |
| 19 | export CONFIG_ONU_SIM := y |
| 20 | endif |
| 21 | |
| 22 | LINT_FLAGS = -e686 $(MAKE_DEVICE_DIR)/gcc.lnt $(MAKE_DEVICE_DIR)/config.lnt |
| 23 | |