Makefile 1023 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. ################################################################################
  2. #
  3. # Copyright (c) 2014 Minoca Corp. All Rights Reserved
  4. #
  5. # Module Name:
  6. #
  7. # Raspberry Pi 2 ACPI Tables
  8. #
  9. # Abstract:
  10. #
  11. # This module compiles the Raspberry Pi 2 ACPI tables.
  12. #
  13. # Author:
  14. #
  15. # Chris Stevens 17-Mar-2015
  16. #
  17. # Environment:
  18. #
  19. # Firmware
  20. #
  21. ################################################################################
  22. BINARY := acpi.ffs
  23. BINARYTYPE = none
  24. BINPLACE = none
  25. IASL = iasl
  26. IASL_OPTIONS = -we
  27. OBJS += dbg2.aml \
  28. dsdt.aml \
  29. facp.aml \
  30. facs.aml \
  31. gtdt.aml \
  32. bcm2.aml \
  33. include $(SRCROOT)/os/minoca.mk
  34. $(BINARY): $(OBJS)
  35. @echo Generating - $@
  36. @cd $(OBJROOT)/$(THISDIR) && \
  37. genffs -g 7E374E25-8E01-4FEE-87F2-390C23C606CD -r EFI_SECTION_RAW \
  38. -t EFI_FV_FILETYPE_FREEFORM -o $@ $^
  39. %.aml:%.asl
  40. @echo Compiling ASL - $<
  41. @$(IASL) $(IASL_OPTIONS) -p $(OBJROOT)/$(THISDIR)/$@ $< > $(OBJROOT)/$(THISDIR)/iaslout.txt