summaryrefslogtreecommitdiff
path: root/target/linux/rdc/image
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-12-13 00:02:29 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-12-13 00:02:29 +0000
commit9a3d0be8d1a942382de85ac85e718ad6fdf836b9 (patch)
tree7535dab7fd2335ecf21025c55bc431c0e192eef2 /target/linux/rdc/image
parentc74fe3cfff2cd44faa4af9bb4b819384310a265f (diff)
downloadmtk-20170518-9a3d0be8d1a942382de85ac85e718ad6fdf836b9.zip
mtk-20170518-9a3d0be8d1a942382de85ac85e718ad6fdf836b9.tar.gz
mtk-20170518-9a3d0be8d1a942382de85ac85e718ad6fdf836b9.tar.bz2
generate bifferboard images, patch from bifferos
SVN-Revision: 18768
Diffstat (limited to 'target/linux/rdc/image')
-rw-r--r--target/linux/rdc/image/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/rdc/image/Makefile b/target/linux/rdc/image/Makefile
index f8082b0..9b4c135 100644
--- a/target/linux/rdc/image/Makefile
+++ b/target/linux/rdc/image/Makefile
@@ -84,6 +84,11 @@ define Image/Build/amit
$(STAGING_DIR_HOST)/bin/makeamitbin -o $(BIN_DIR)/openwrt-$(BOARD)-$(1)-ar360w3g.bin -1 ALK_ATG001 -2 Atropos linux3g $(KDIR)/bzImage ramdisk3g $(KDIR)/root.$(1)
endef
+define Image/Build/bifferboard
+ $(TOPDIR)/target/linux/rdc/image/mkimg_bifferboard.py $(KDIR)/bzImage $(KDIR)/root.$(1) $(KDIR)/tmp.img
+ $(CP) $(KDIR)/tmp.img $(BIN_DIR)/openwrt-$(BOARD)-$(1)-$(2).img
+endef
+
define Image/Build/Initramfs
$(CP) $(KDIR)/bzImage $(BIN_DIR)/openwrt-$(BOARD)-ramfs.bzImage
endef