brcm47xx: fix padding of trx images, padjffs2 does not work properly on empty files by default

SVN-Revision: 28125
This commit is contained in:
Felix Fietkau 2011-08-29 21:23:51 +00:00
parent cd2c68501c
commit 24dfe525c2

View file

@ -20,7 +20,7 @@ define Image/Prepare
clean install clean install
echo -ne "\\x00" >> $(KDIR)/loader.gz echo -ne "\\x00" >> $(KDIR)/loader.gz
rm -f $(KDIR)/fs_mark rm -f $(KDIR)/fs_mark
touch $(KDIR)/fs_mark echo -ne '\xde\xad\xc0\xde' > $(KDIR)/fs_mark
$(call prepare_generic_squashfs,$(KDIR)/fs_mark) $(call prepare_generic_squashfs,$(KDIR)/fs_mark)
endef endef