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

SVN-Revision: 28125
master
Felix Fietkau 13 years ago
parent cd2c68501c
commit 24dfe525c2
  1. 2
      target/linux/brcm47xx/image/Makefile

@ -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

Loading…
Cancel
Save