You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

kir-Makefile 788B

1234567891011121314151617181920212223242526
  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. # Add this Makefile to MAKEDEPS
  11. #
  12. MAKEDEPS += arch/i386/kir-Makefile
  13. # Place binaries in bin-kir
  14. #
  15. BIN = bin-kir
  16. # Compile with -DKEEP_IT_REAL, forcibly include kir.h at the start of
  17. # each file to drag in ".code16gcc"
  18. #
  19. CFLAGS += -DKEEP_IT_REAL -include kir.h
  20. include Makefile
  21. LDSCRIPT = arch/i386/scripts/i386-kir.lds