blob: 39ce1ce40e002c5c378870a3b6153fe8b25160bb [file] [log] [blame]
Matt Ploetzdfd5a472017-01-19 13:13:55 -06001################################################################################
2#
3# ima-catalog.mk
4#
5################################################################################
Rajarshi Das059a3d02021-04-07 02:09:40 -05006IMA_CATALOG_VERSION ?= 4e2dc4d8d34e504c94298724d1b0e3eaadc815b6
Deepak K Gangadhar0e51ec92021-03-23 01:51:54 -05007#IMA_CATALOG_SITE ?= $(call github,open-power,ima-catalog,$(IMA_CATALOG_VERSION))
8IMA_CATALOG_SITE ?= git@github.ibm.com:open-power/ima-catalog.git
9IMA_CATALOG_SITE_METHOD ?= git
Matt Ploetzdfd5a472017-01-19 13:13:55 -060010IMA_CATALOG_LICENSE = Apache-2.0
11IMA_CATALOG_DEPENDENCIES = host-dtc host-xz
12
Klaus Heinrich Kiwid2551242020-07-16 16:59:04 -030013ifeq ($(BR2_PACKAGE_OPENPOWER_PNOR_P10),y)
14IMA_CATALOG_FILENAME=$(BR2_IMA_CATALOG_P10_FILENAME)
15else
16IMA_CATALOG_FILENAME=$(BR2_IMA_CATALOG_FILENAME)
17endif
18
Matt Ploetzdfd5a472017-01-19 13:13:55 -060019IMA_CATALOG_INSTALL_IMAGES = YES
20IMA_CATALOG_INSTALL_TARGET = NO
21
22define IMA_CATALOG_BUILD_CMDS
23 cd $(@D) && ./build.sh $(HOST_DIR)/usr/bin/ $(BR2_IMA_CATALOG_DTS)
24endef
25
26define IMA_CATALOG_INSTALL_IMAGES_CMDS
Klaus Heinrich Kiwid2551242020-07-16 16:59:04 -030027 $(INSTALL) $(@D)/$(IMA_CATALOG_FILENAME) $(BINARIES_DIR)
Matt Ploetzdfd5a472017-01-19 13:13:55 -060028endef
29
30$(eval $(generic-package))