Makefile 982 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. ################################################################################
  2. #
  3. # Copyright (c) 2014 Minoca Corp. All Rights Reserved
  4. #
  5. # Module Name:
  6. #
  7. # Architecture support
  8. #
  9. # Abstract:
  10. #
  11. # This module contains architecure-specific UEFI core support functions.
  12. #
  13. # Author:
  14. #
  15. # Evan Green 27-Mar-2014
  16. #
  17. # Environment:
  18. #
  19. # Firmware
  20. #
  21. ################################################################################
  22. BINARY = uefiarch.a
  23. BINARYTYPE = library
  24. INCLUDES += $(SRCROOT)/os/uefi/include;$(SRCROOT)/os/uefi/core;
  25. X86_OBJS = x86/archlib.o \
  26. x86/archsup.o \
  27. x86/ioport.o \
  28. x86/regacces.o \
  29. ARMV7_OBJS = armv7/archlib.o \
  30. armv7/archsup.o \
  31. armv7/regacces.o \
  32. ARMV6_OBJS = armv7/archlib.o \
  33. armv6/archsup.o \
  34. armv7/regacces.o \
  35. EXTRA_SRC_DIRS = x86 armv7 armv6
  36. include $(SRCROOT)/os/minoca.mk
  37. CFLAGS += -fshort-wchar