blob: f357960d05117648d2ac9eae59721b24ea003f86 [file] [log] [blame]
Matt Ploetzdfd5a472017-01-19 13:13:55 -06001################################################################################
2#
3# ima-catalog.mk
4#
5################################################################################
kgdeepak4c93ebc2020-02-12 11:20:49 +05306IMA_CATALOG_VERSION ?= 89e00ee3ef424b5ff49f4d89d609004ae863bf26
Matt Ploetzdfd5a472017-01-19 13:13:55 -06007IMA_CATALOG_SITE ?= $(call github,open-power,ima-catalog,$(IMA_CATALOG_VERSION))
8IMA_CATALOG_LICENSE = Apache-2.0
9IMA_CATALOG_DEPENDENCIES = host-dtc host-xz
10
11IMA_CATALOG_INSTALL_IMAGES = YES
12IMA_CATALOG_INSTALL_TARGET = NO
13
14define IMA_CATALOG_BUILD_CMDS
15 cd $(@D) && ./build.sh $(HOST_DIR)/usr/bin/ $(BR2_IMA_CATALOG_DTS)
16endef
17
18define IMA_CATALOG_INSTALL_IMAGES_CMDS
19 $(INSTALL) $(@D)/$(BR2_IMA_CATALOG_FILENAME) $(BINARIES_DIR)
20endef
21
22$(eval $(generic-package))