1
0

Makefile 852 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. ################################################################################
  2. #
  3. # Copyright (c) 2014 Minoca Corp. All Rights Reserved
  4. #
  5. # Binary Name:
  6. #
  7. # ElfConv
  8. #
  9. # Abstract:
  10. #
  11. # This module builds the ElfConv utility, which converts an ELF image
  12. # into a PE image. UEFI exclusively loads PE images, which is why the
  13. # conversion is necessary. With certain restrictions (such as the lack
  14. # of dynamic libraries) conversion is doable, though not a lot of fun.
  15. #
  16. # Author:
  17. #
  18. # Evan Green 10-Mar-2014
  19. #
  20. # Environment:
  21. #
  22. # Build
  23. #
  24. ################################################################################
  25. BINARY = elfconv
  26. BUILD = yes
  27. BINPLACE = bin
  28. BINARYTYPE = build
  29. INCLUDES += $(SRCROOT)/os/uefi/include;
  30. OBJS = elfc32.o \
  31. elfconv.o \
  32. include $(SRCROOT)/os/minoca.mk