Merge preliminary rdc-2.6 support (Airlink101 AR525W)
[openwrt/svn-archive/archive.git] / target / image / rdc / 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/Prepare
17 cat $(KDIR)/vmlinux | $(STAGING_DIR)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux.lzma
18 endef
19
20 define Image/Build/ar525w
21 endef
22
23 $(call Image/Build/ar525w,$(1),$(patsubst jffs2-%,jffs2,$(1)))
24
25 $(eval $(call BuildImage))