History | View | Annotate | Download (751 Bytes)
otionrom: Use local CFLAGS no global one
It is needed by %.o : %.c rule.
Signed-off-by: Juan Quintela <quintela@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
optionrom: make clean should remove raw and .d
Remove CFLAGS parameter in cc-option
With cc-option we are testing if gcc just accept a particular option, we don't need CFLAGS at all. And this fixes the recursive problem with CFLAGS
Rename CPPFLAGS to QEMU_CFLAGS
Now we have to variables: QEMU_CFLAGS: flags without which we can't compileCFLAGS: "-g -O2"
We can now run:
make CFLAGS="-fbar" foo.omake CFLAGS="" foo.omake CFLAGS="-O3" foo.o
And it all should work.
Signed-off-by: Juan Quintela <quintela@redhat.com>...
Do not try to invoke shebang scripts directly (NFS issues)
Signed-off-by: malc <av1474@comtv.ru>
Option rom makefile fixes
Fix toplevel option rom makefile rules.
Signed-off-by: Paul Brook <paul@codesourcery.com>
Fix out of tree build broken by 791e08c753a9f9be3c3880b4ea83b6dfa4b6ccad
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Use quiet-command for building optionrom
use cc-option for optionrom
Fix multiboot.bin build on mingw32
This combination of ld/object was suggested by Bartlomiej Celary
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Don't copy multiboot.bin into pc-bios after built
That dirties the working directory of the tree.
Replace signrom with shell script v3
In order to not execute code we just compiled, let's replace signromwith a shell script that does the same thing while staying compatibleto pretty much every system available.
This should make cross-compilation for windows easier....
Multiboot build system v4
In order to build the multiboot option rom, we need a Makefile and a toolto sign the rom with.
Both are provided by this patch and mostly taken from the extboot source,written by Anthony Liguori.
Once built, the resulting binary gets copied to pc-bios automatically....