common 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. ################################################################################
  2. #
  3. # Copyright (c) 2014 Minoca Corp.
  4. #
  5. # This file is licensed under the terms of the GNU General Public License
  6. # version 3. Alternative licensing terms are available. Contact
  7. # info@minocacorp.com for details. See the LICENSE file at the root of this
  8. # project for complete licensing information.
  9. #
  10. # Binary Name:
  11. #
  12. # Common UEFI platform sources
  13. #
  14. # Abstract:
  15. #
  16. # This file includes common build arguments for all UEFI platform targets.
  17. #
  18. # Author:
  19. #
  20. # Evan Green 26-Feb-2014
  21. #
  22. # Environment:
  23. #
  24. # Firmware
  25. #
  26. ################################################################################
  27. INCLUDES += $(SRCROOT)/os/uefi/include;
  28. RTBASE = $(OBJROOT)/os/uefi/core/runtime/rtbase.ffs
  29. TARGETLIBS = $(OBJROOT)/os/kernel/kd/boot/kdboot.a \
  30. $(OBJROOT)/os/kernel/kd/kdusb/kdnousb/kdnousb.a \
  31. $(OBJROOT)/os/lib/rtl/base/boot/basertlb.a \
  32. $(OBJROOT)/os/lib/basevid/basevid.a \
  33. $(OBJROOT)/os/lib/fatlib/fat.a \
  34. $(OBJROOT)/os/uefi/core/ueficore.a \
  35. $(OBJROOT)/os/uefi/archlib/uefiarch.a \
  36. ifeq ($(ARCH), armv7)
  37. TARGETLIBS += $(OBJROOT)/os/kernel/$(ARCH)/boot/armboot.a \
  38. endif
  39. ifeq ($(ARCH), armv6)
  40. TARGETLIBS += $(OBJROOT)/os/kernel/$(ARCH)/boot/armboot.a \
  41. endif