Makefile 796 B

123456789101112131415161718192021222324252627
  1. # tools/power/acpi/Makefile - ACPI tool Makefile
  2. #
  3. # Copyright (c) 2013, Intel Corporation
  4. # Author: Lv Zheng <lv.zheng@intel.com>
  5. #
  6. # This program is free software; you can redistribute it and/or
  7. # modify it under the terms of the GNU General Public License
  8. # as published by the Free Software Foundation; version 2
  9. # of the License.
  10. include ../../scripts/Makefile.include
  11. all: acpidump ec
  12. clean: acpidump_clean ec_clean
  13. install: acpidump_install ec_install
  14. uninstall: acpidump_uninstall ec_uninstall
  15. acpidump ec: FORCE
  16. $(call descend,tools/$@,all)
  17. acpidump_clean ec_clean:
  18. $(call descend,tools/$(@:_clean=),clean)
  19. acpidump_install ec_install:
  20. $(call descend,tools/$(@:_install=),install)
  21. acpidump_uninstall ec_uninstall:
  22. $(call descend,tools/$(@:_uninstall=),uninstall)
  23. .PHONY: FORCE