| 1 | # |
| 2 | # Copyright (C) 2010-2012 OpenWrt.org |
| 3 | # |
| 4 | # This is free software, licensed under the GNU General Public License v2. |
| 5 | # See /LICENSE for more information. |
| 6 | # |
| 7 | include $(TOPDIR)/rules.mk |
| 8 | |
| 9 | ARCH:=arm |
| 10 | BOARD:=cns3xxx |
| 11 | BOARDNAME:=Cavium Networks Econa CNS3xxx |
| 12 | FEATURES:=squashfs fpu gpio pcie usb usbgadget |
| 13 | CFLAGS:=-Os -pipe -march=armv6k -mtune=mpcore -mfloat-abi=softfp -mfpu=vfp -fno-caller-saves |
| 14 | MAINTAINER:=Imre Kaloz <kaloz@openwrt.org> |
| 15 | |
| 16 | LINUX_VERSION:=3.3.8 |
| 17 | |
| 18 | include $(INCLUDE_DIR)/target.mk |
| 19 | |
| 20 | define Target/Description |
| 21 | Build images for Cavium Networks Econa CNS3xxx based boards, |
| 22 | eg. the Gateworks Laguna family |
| 23 | endef |
| 24 | |
| 25 | KERNELNAME:="uImage" |
| 26 | |
| 27 | DEFAULT_PACKAGES += kmod-ath9k kmod-usb2 wpad-mini |
| 28 | |
| 29 | $(eval $(call BuildTarget)) |
| 30 | |