From e3003ea2a91272b198357d076b838c5991c3947a Mon Sep 17 00:00:00 2001
From: John Crispin <john@openwrt.org>
Date: Wed, 17 Apr 2013 11:54:09 +0000
Subject: [PATCH] fix prepare_generic_squashfs

prepare_generic_squashfs was called twice on the generated images breaking mount_root

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36349
---
 target/linux/ramips/image/Makefile | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile
index 7a9c6ae6e8..4e8cde7310 100644
--- a/target/linux/ramips/image/Makefile
+++ b/target/linux/ramips/image/Makefile
@@ -500,10 +500,6 @@ endif
 #
 # Generic Targets
 #
-define Image/Build/squashfs
-	$(call prepare_generic_squashfs,$(KDIR)/root.squashfs)
-endef
-
 define Image/BuildKernel
 	cp $(KDIR)/vmlinux.elf $(BIN_DIR)/$(VMLINUX).elf
 	cp $(KDIR)/vmlinux $(BIN_DIR)/$(VMLINUX).bin
-- 
GitLab