Last change
on this file was
e16e8f2,
checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago
|
bootstuff
|
-
Property mode set to
100644
|
File size:
788 bytes
|
Rev | Line | |
---|
[e16e8f2] | 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 |
---|
Note: See
TracBrowser
for help on using the repository browser.