Makefile 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. ################################################################################
  2. #
  3. # Copyright (c) 2014 Minoca Corp. All Rights Reserved
  4. #
  5. # Module Name:
  6. #
  7. # Core
  8. #
  9. # Abstract:
  10. #
  11. # This file is responsible for building the core UEFI support. This is a
  12. # library containing the bulk of the UEFI interfaces, which platform
  13. # specific images include into their boot image.
  14. #
  15. # Author:
  16. #
  17. # Evan Green 26-Feb-2014
  18. #
  19. # Environment:
  20. #
  21. # Firmware
  22. #
  23. ################################################################################
  24. BINARY = ueficore.a
  25. BINARYTYPE = library
  26. INCLUDES += $(SRCROOT)/os/uefi/include;.;
  27. VERSION_MAJOR := 1
  28. VERSION_MINOR := 0
  29. VERSION_REVISION := 0
  30. VERSION_RELEASE := SystemReleaseFinal
  31. OBJS = acpi.o \
  32. acpitabs.o \
  33. basepe.o \
  34. bdsboot.o \
  35. bdscon.o \
  36. bdsentry.o \
  37. bdsutil.o \
  38. cfgtable.o \
  39. dbgser.o \
  40. devpathu.o \
  41. diskio.o \
  42. dispatch.o \
  43. div.o \
  44. drvsup.o \
  45. event.o \
  46. fatdev.o \
  47. fatfs.o \
  48. fsvars.o \
  49. fvblock.o \
  50. fvsect.o \
  51. fwvol.o \
  52. fwvolio.o \
  53. handle.o \
  54. image.o \
  55. init.o \
  56. intr.o \
  57. locate.o \
  58. lock.o \
  59. memory.o \
  60. part.o \
  61. partelto.o \
  62. partgpt.o \
  63. partmbr.o \
  64. pool.o \
  65. ramdisk.o \
  66. smbios.o \
  67. stubs.o \
  68. tpl.o \
  69. timer.o \
  70. util.o \
  71. version.o \
  72. vidcon.o \
  73. X86_OBJS = x86/archsup.o \
  74. x86/prochw.o \
  75. ARMV7_OBJS = armv7/commsup.o \
  76. armv7/inttable.o \
  77. armv7/prochw.o \
  78. ARMV6_OBJS = armv7/commsup.o \
  79. armv7/inttable.o \
  80. armv7/prochw.o \
  81. EXTRA_SRC_DIRS = x86 armv7 armv6
  82. DIRS = rtlib \
  83. runtime
  84. include $(SRCROOT)/os/minoca.mk
  85. CFLAGS += -fshort-wchar
  86. ##
  87. ## Generate the version header.
  88. ##
  89. version.o: $(CURDIR)/version.h
  90. $(CURDIR)/version.h:
  91. $(GEN_VERSION) $@ header $(VERSION_MAJOR) $(VERSION_MINOR) \
  92. $(VERSION_REVISION) $(VERSION_RELEASE)