klib.json 342 B

123456789101112131415161718192021222324252627
  1. {
  2. "KernelLibs": {
  3. "Cflags": [
  4. "-mcmodel=kernel",
  5. "-O0",
  6. "-mno-red-zone",
  7. "-ffreestanding",
  8. "-fno-builtin",
  9. "-fno-stack-protector",
  10. "-Wall",
  11. "-Werror",
  12. "-g"
  13. ],
  14. "Include": [
  15. "/$ARCH/$CC.json"
  16. ],
  17. "Oflags": [
  18. "-static"
  19. ],
  20. "Post": [
  21. "rm -f *.o"
  22. ],
  23. "Pre": [
  24. "rm -f -f *.o *.tag.*"
  25. ]
  26. }
  27. }