TARGET_IMG_BASE_LDOPT rather than hardcoding -Wl,-Ttext.
+2012-02-29 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * grub-core/Makefile.core.def (lzma_decompress): Use
+ TARGET_IMG_BASE_LDOPT rather than hardcoding -Wl,-Ttext.
+
2012-02-29 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/genmod.sh.in: Rewrite the Apple part.
i386_pc = boot/i386/pc/startup_raw.S;
objcopyflags = '-O binary';
- ldflags = '$(TARGET_IMG_LDFLAGS) -Wl,-Ttext,0x8200';
+ ldflags = '$(TARGET_IMG_LDFLAGS) $(TARGET_IMG_BASE_LDOPT),0x8200';
enable = i386_pc;
};