edk2-platforms.mk 902 B

12345678910111213141516171819202122
  1. ################################################################################
  2. #
  3. # edk2-platforms
  4. #
  5. ################################################################################
  6. # Keep in sync with latest commit as of the release date for boot/edk2
  7. EDK2_PLATFORMS_VERSION = e509ac5a729ebe2a3bc905aed1df23226aca4dc9
  8. EDK2_PLATFORMS_SITE = $(call github,tianocore,edk2-platforms,$(EDK2_PLATFORMS_VERSION))
  9. EDK2_PLATFORMS_LICENSE = BSD-2-Clause-Patent
  10. EDK2_PLATFORMS_LICENSE_FILES = License.txt
  11. EDK2_PLATFORMS_INSTALL_TARGET = NO
  12. EDK2_PLATFORMS_INSTALL_STAGING = YES
  13. # There is nothing to build for edk2-platforms. All we need to do is to copy
  14. # all description files to staging, for other packages to build with.
  15. define EDK2_PLATFORMS_INSTALL_STAGING_CMDS
  16. mkdir -p $(STAGING_DIR)/usr/share/edk2-platforms
  17. cp -rf $(@D)/*/ $(STAGING_DIR)/usr/share/edk2-platforms/
  18. endef
  19. $(eval $(generic-package))