aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-03-11 16:39:31 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-03-11 16:39:31 +0000
commitc853b6d0e6c72425a0dfa82a44355a0b2632e08d (patch)
treec860e5440a57d9aface12f4f5991ef88bd1c7c89 /target
parentb8e1185b0d8673b4580b212f4b6632ee939a2f9b (diff)
downloadmaster-187ad058-c853b6d0e6c72425a0dfa82a44355a0b2632e08d.tar.gz
master-187ad058-c853b6d0e6c72425a0dfa82a44355a0b2632e08d.tar.bz2
master-187ad058-c853b6d0e6c72425a0dfa82a44355a0b2632e08d.zip
ramips: build initramfs image for DIR-{3,6}00 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30882 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/image/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile
index 90bbff95b3..97f4a9a42d 100644
--- a/target/linux/ramips/image/Makefile
+++ b/target/linux/ramips/image/Makefile
@@ -164,6 +164,10 @@ define BuildFirmware/DIR300B1
-o $(call imgname,$(1),$(2))-factory.bin
endef
+define BuildFirmware/DIR300B1/initramfs
+ $(call BuildFirmware/Generic/initramfs,$(1),$(2),board=$(3) $(call mkmtd/phys,$(mtdlayout_dir300b1)),$(mtd_dir300b1_kernel_part_size),$(mtd_dir300b1_rootfs_part_size))
+endef
+
define BuildFirmware/Edimax
if [ -e "$(call sysupname,$(1),$(2))" ]; then \
mkedimaximg -i $(call sysupname,$(1),$(2)) \