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