From 46495ea2d9709eac79bc4cfb13f13f4d778f3d47 Mon Sep 17 00:00:00 2001 From: juhosg Date: Sun, 11 Mar 2012 16:39:31 +0000 Subject: [PATCH] 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 --- target/linux/ramips/image/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index 90bbff95b..97f4a9a42 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)) \ -- 2.20.1