asm part for mips decompressor
This commit is contained in:
parent
3197c86ba8
commit
c5b4cd370e
8 changed files with 278 additions and 146 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue