major target cleanup. it is now possible to have subtargets that can override many...
[openwrt-10.03/.git] / target / linux / au1000 / 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 usb pci
13
14 LINUX_VERSION:=2.6.22.4
15
16 include $(INCLUDE_DIR)/target.mk
17 DEFAULT_PACKAGES += yamonenv
18
19 define Target/Description
20         Build firmware for AMD Alchemy 1500 boards
21         (e.g. 4G-Systems Mesh/Access Cube ...)
22 endef
23
24 define Kernel/BuildImage
25         $(call Kernel/BuildImage/Default)
26         $(CP) $(LINUX_DIR)/arch/mips/boot/compressed/images/zImage.flash.srec $(LINUX_DIR)/zImage.flash.srec
27         $(CP) $(LINUX_DIR)/arch/mips/boot/compressed/images/zImage.srec $(LINUX_DIR)/zImage.srec
28 endef
29
30 # include the profiles
31 -include profiles/*.mk
32
33 $(eval $(call BuildTarget))
34