build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail...
[openwrt/staging/chunkeey.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 usb pci
13
14 LINUX_VERSION:=2.6.22.1
15
16 define Target/Description
17 Build firmware for AMD Alchemy 1500 boards
18 (e.g. 4G-Systems Mesh/Access Cube ...)
19 endef
20
21 include $(INCLUDE_DIR)/kernel-build.mk
22 DEFAULT_PACKAGES += yamonenv
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 BuildKernel))
34