Integrate Fuloong firmware port into build system and grub-mkimage

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-01-24 02:20:04 +01:00
parent dc1c21edb7
commit a9fa2a22d7
4 changed files with 108 additions and 48 deletions

View file

@ -329,6 +329,14 @@ image = {
enable = mips_yeeloong;
};
image = {
name = fwstart_fuloong;
mips_yeeloong = boot/mips/yeeloong/fuloong.S;
objcopyflags = '-O binary';
ldflags = '-static-libgcc -lgcc -Wl,-N,-S,-Ttext,0xbfc00000,-Bstatic';
enable = mips_yeeloong;
};
module = {
name = trig;
common_nodist = trigtables.c;