Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / ipxe / src / arch / i386 / kir-Makefile
1 # Makefile to build a KEEP_IT_REAL flavour
2
3 # KEEP_IT_REAL, by its nature, requires a different build of every
4 # single object file, since the inclusion of ".code16gcc" will
5 # generate different machine code from the assembly.  Unlike the other
6 # config options, there is no way that this global dependency can ever
7 # be reduced, so it makes sense to be able to build both the normal
8 # and the KIR versions without having to force a full rebuild each
9 # time.
10
11 # Add this Makefile to MAKEDEPS
12 #
13 MAKEDEPS        += arch/i386/kir-Makefile
14
15 # Place binaries in bin-kir
16 #
17 BIN             = bin-kir
18
19 # Compile with -DKEEP_IT_REAL, forcibly include kir.h at the start of
20 # each file to drag in ".code16gcc"
21 #
22 CFLAGS          += -DKEEP_IT_REAL -include kir.h
23
24 include Makefile
25
26 LDSCRIPT        = arch/i386/scripts/i386-kir.lds