summaryrefslogtreecommitdiff
path: root/target/linux/rdc-2.6
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
commiteb2f10c841e1fbf86b1cbb113cb81ec4a595c528 (patch)
treeb05f2b6ef971a2bbde0229094c7441ec5615b121 /target/linux/rdc-2.6
parent6d6412fc33a6b126747945c5242ff4680fc05323 (diff)
downloadmtk-20170518-eb2f10c841e1fbf86b1cbb113cb81ec4a595c528.zip
mtk-20170518-eb2f10c841e1fbf86b1cbb113cb81ec4a595c528.tar.gz
mtk-20170518-eb2f10c841e1fbf86b1cbb113cb81ec4a595c528.tar.bz2
Add image generation for ar525w
SVN-Revision: 5868
Diffstat (limited to 'target/linux/rdc-2.6')
-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 0608240..d71c198 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))