Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. ################################################################################
  2. #
  3. # Copyright (c) 2015 Minoca Corp. All Rights Reserved
  4. #
  5. # Module Name:
  6. #
  7. # Veyron ACPI tables
  8. #
  9. # Abstract:
  10. #
  11. # This module compiles the Veyron ACPI tables.
  12. #
  13. # Author:
  14. #
  15. # Evan Green 10-Jul-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 += apic.aml \
  28. dbg2.aml \
  29. dsdt.aml \
  30. facp.aml \
  31. facs.aml \
  32. gtdt.aml \
  33. rk32.aml \
  34. include $(SRCROOT)/os/minoca.mk
  35. $(BINARY): $(OBJS)
  36. @echo Generating - $@
  37. @cd $(OBJROOT)/$(THISDIR) && \
  38. genffs -g 7E374E25-8E01-4FEE-87F2-390C23C606CD -r EFI_SECTION_RAW \
  39. -t EFI_FV_FILETYPE_FREEFORM -o $@ $^
  40. %.aml:%.asl
  41. @echo Compiling ASL - $<
  42. @$(IASL) $(IASL_OPTIONS) -p $(OBJROOT)/$(THISDIR)/$@ $< > $(OBJROOT)/$(THISDIR)/iaslout.txt