1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-20 02:12:52 +02:00

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
This commit is contained in:
juhosg 2012-03-11 16:39:31 +00:00
parent 1df87f4bee
commit 46495ea2d9

View File

@ -164,6 +164,10 @@ define BuildFirmware/DIR300B1
-o $(call imgname,$(1),$(2))-factory.bin -o $(call imgname,$(1),$(2))-factory.bin
endef 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 define BuildFirmware/Edimax
if [ -e "$(call sysupname,$(1),$(2))" ]; then \ if [ -e "$(call sysupname,$(1),$(2))" ]; then \
mkedimaximg -i $(call sysupname,$(1),$(2)) \ mkedimaximg -i $(call sysupname,$(1),$(2)) \