aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2006-12-19 23:48:47 +0000
committerFlorian Fainelli <florian@openwrt.org>2006-12-19 23:48:47 +0000
commitd7f1af3daf5541eb37bb7b30b330bca6b6e7a50e (patch)
treea7e290ef0df91761c7c90c3dc7bfef29dcd3ea60
parent55f5c208b5afd580ab459517b0164b19b5566b9c (diff)
downloadupstream-d7f1af3daf5541eb37bb7b30b330bca6b6e7a50e.tar.gz
upstream-d7f1af3daf5541eb37bb7b30b330bca6b6e7a50e.tar.bz2
upstream-d7f1af3daf5541eb37bb7b30b330bca6b6e7a50e.zip
Add image generation for ar525w
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5868 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/rdc-2.6/image/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/target/linux/rdc-2.6/image/Makefile b/target/linux/rdc-2.6/image/Makefile
index 06082404ee..d71c198840 100644
--- a/target/linux/rdc-2.6/image/Makefile
+++ b/target/linux/rdc-2.6/image/Makefile
@@ -13,13 +13,9 @@ endef
define Image/Prepare
endef
-define Image/Prepare
- cat $(KDIR)/vmlinux | $(STAGING_DIR)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux.lzma
-endef
-
-define Image/Build/ar525w
+define Image/Build
+ touch $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).img
+ $(STAGING_DIR)/bin/airlink -b 1 -j $(LINUX_DIR)/arch/i386/boot/bzImage $(KDIR)/root.$(1) $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).img
endef
-$(call Image/Build/ar525w,$(1),$(patsubst jffs2-%,jffs2,$(1)))
-
$(eval $(call BuildImage))