[OpenWrt-Devel] [PATCH] bcm53xx: image: changed manual jffs2 marking to general rule

Alexey N. Vinogradov a.n.vinogradov at gmail.com
Fri Nov 7 01:05:57 EST 2014


Signed-off-by: Alexey N Vinogradov <a.n.vinogradov at gmail.com>
---
diff --git a/target/linux/bcm53xx/image/Makefile
b/target/linux/bcm53xx/image/Makefile
index b2fafd9..599af4e 100644
--- a/target/linux/bcm53xx/image/Makefile
+++ b/target/linux/bcm53xx/image/Makefile
@@ -9,7 +9,7 @@ include $(INCLUDE_DIR)/image.mk
 
 define Image/Prepare
 	rm -f $(KDIR)/fs_mark
-	echo -ne '\xde\xad\xc0\xde' > $(KDIR)/fs_mark
+	$(call add_jffs2_mark,$(KDIR)/fs_mark)
 	$(call prepare_generic_squashfs,$(KDIR)/fs_mark)
 
 	$(CP) ./ubinize.cfg $(KDIR)
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list