From b2afb336a29439d84a30a694333e902499f610d0 Mon Sep 17 00:00:00 2001
From: Florian Fainelli <florian@openwrt.org>
Date: Sun, 26 Jul 2009 16:15:26 +0000
Subject: [PATCH] allow creating of ext2 filesystems

SVN-Revision: 17017
---
 target/linux/ppc40x/image/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/target/linux/ppc40x/image/Makefile b/target/linux/ppc40x/image/Makefile
index d9586dd153..3afeeca4ad 100644
--- a/target/linux/ppc40x/image/Makefile
+++ b/target/linux/ppc40x/image/Makefile
@@ -22,6 +22,10 @@ define Image/Build
 	$(call Image/Build/$(1),$(1))
 endef
 
+define Image/Build/ext2
+	cp $(KDIR)/root.$(1) $(BIN_DIR)/openwrt-$(BOARD)-ext2.img
+endef
+
 define Image/Build/jffs2-128k
 	( \
 		dd if=$(LINUX_DIR)/arch/powerpc/boot/uImage bs=1920k conv=sync; \
-- 
2.25.1