1 # Makefile to build a KEEP_IT_REAL flavour
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
11 # Add this Makefile to MAKEDEPS
13 MAKEDEPS += arch/i386/kir-Makefile
15 # Place binaries in bin-kir
19 # Compile with -DKEEP_IT_REAL, forcibly include kir.h at the start of
20 # each file to drag in ".code16gcc"
22 CFLAGS += -DKEEP_IT_REAL -include kir.h
26 LDSCRIPT = arch/i386/scripts/i386-kir.lds