Ticket #8729: Makefile

File Makefile, 1.0 KB (added by Tanguy Pruvot <tanguy.pruvot@…>, 5 years ago)

Updated Orion Makefile

Line 
1#
2# Copyright (C) 2008-2011 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7include $(TOPDIR)/rules.mk
8
9ARCH:=arm
10BOARD:=orion
11BOARDNAME:=Marvell Orion
12SUBTARGETS:=generic harddisk
13CFLAGS=-Os -pipe -march=armv5t -mtune=xscale -funit-at-a-time
14MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
15
16LINUX_VERSION:=2.6.36.2
17
18include $(INCLUDE_DIR)/target.mk
19
20KERNELNAME:="uImage"
21
22# led support
23DEFAULT_PACKAGES += kmod-leds-gpio
24DEFAULT_PACKAGES += kmod-ledtrig-netdev kmod-ledtrig-netfilter
25
26# button support (reset, power, ...)
27DEFAULT_PACKAGES += kmod-input-core kmod-button-hotplug kmod-input-gpio-buttons kmod-input-gpio-keys kmod-input-polldev
28DEFAULT_PACKAGES += swconfig
29
30# hardware crypto
31DEFAULT_PACKAGES += kmod-crypto-mv-cesa wpad-mini
32
33# wifi devices
34DEFAULT_PACKAGES += kmod-ath9k
35
36# mwl8k for default WNR854T wifi card, madwifi for Atheros 5x cards
37DEFAULT_PACKAGES += kmod-mwl8k
38DEFAULT_PACKAGES += kmod-madwifi
39
40$(eval $(call BuildTarget))