Add image generation for ar525w
[openwrt/openwrt.git] / target / linux / rdc-2.6 / image / 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 include $(INCLUDE_DIR)/image.mk
9
10 define Build/Clean
11 endef
12
13 define Image/Prepare
14 endef
15
16 define Image/Build
17 touch $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).img
18 $(STAGING_DIR)/bin/airlink -b 1 -j $(LINUX_DIR)/arch/i386/boot/bzImage $(KDIR)/root.$(1) $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).img
19 endef
20
21 $(eval $(call BuildImage))