clean up a few things in image build makefiles and fix unnecessary grub rebuilds
[openwrt.git] / target / linux / au1000-2.6 / Makefile
1 #
2 # Copyright (C) 2006 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:=mipsel
10 BOARD:=au1000
11 BOARDNAME:=AMD Alchemy AU1x00
12 FEATURES:=jffs2
13
14 define Target/Description
15 Build firmware for AMD Alchemy 1500 boards
16 (e.g. 4G-Systems Mesh/Access Cube ...)
17 endef
18
19 include $(INCLUDE_DIR)/kernel-build.mk
20 DEFAULT_PACKAGES += yamonenv
21
22 define Kernel/BuildImage
23 $(call Kernel/BuildImage/Default)
24 $(CP) $(LINUX_DIR)/arch/mips/boot/compressed/images/zImage.flash.srec $(LINUX_DIR)/zImage.flash.srec
25 $(CP) $(LINUX_DIR)/arch/mips/boot/compressed/images/zImage.srec $(LINUX_DIR)/zImage.srec
26 endef
27
28 define Profile/Atheros
29 NAME:=Atheros WiFi (default)
30 PACKAGES:=kmod-madwifi
31 endef
32 $(eval $(call Profile,Atheros))
33
34 define Profile/Intel
35 NAME:=Intel IPW2200 WiFi
36 PACKAGES:=kmod-net-ipw2200
37 endef
38 $(eval $(call Profile,Intel))
39
40 define Profile/Broadcom
41 NAME:=Broadcom BCM43xx WiFi
42 PACKAGES:=kmod-net-bcm43xx
43 endef
44 $(eval $(call Profile,Broadcom))
45
46 $(eval $(call BuildKernel))
47
This page took 0.050225 seconds and 5 git commands to generate.