asm part for mips decompressor

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-09-21 10:14:08 +02:00
parent 3197c86ba8
commit c5b4cd370e
8 changed files with 278 additions and 146 deletions

View file

@ -275,6 +275,19 @@ image = {
enable = i386_pc;
};
image = {
name = decompress;
mips = boot/mips/startup_raw.S;
common = lib/LzmaDec.c;
mips_cppflags = '-DGRUB_MACHINE_LINK_ADDR=0x80200000';
objcopyflags = '-O binary';
ldflags = '-lgcc -static-libgcc -Wl,-Ttext,0x80100000';
cflags = '-static-libgcc';
enable = mips;
};
image = {
name = fwstart;
mips_yeeloong = boot/mips/yeeloong/fwstart.S;