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