fix bug #155, thx for this detailed bug report
[openwrt-10.03/.git] / target / linux / image / brcm / Makefile
index 01a3cab32d3cfb6b7ad90203682761e1a43dfe75..c9ba78df7c7ad3c102bcd955172641bbb263123a 100644 (file)
@@ -25,6 +25,11 @@ endif
 ifeq ($(FS),jffs2-4MB)
 TRXALIGN:=-a 0x10000
 endif
+# see ticket #155
+ifeq ($(FS),squashfs)
+TRXALIGN:=-a 1024
+endif
+
 
 $(KDIR)/loader.tmp.gz:
        cp $(BUILD_DIR)/loader.gz $@