Matt Ploetz | dfd5a47 | 2017-01-19 13:13:55 -0600 | [diff] [blame] | 1 | ################################################################################ |
| 2 | # |
| 3 | # ima-catalog.mk |
| 4 | # |
| 5 | ################################################################################ |
Rajarshi Das | 059a3d0 | 2021-04-07 02:09:40 -0500 | [diff] [blame] | 6 | IMA_CATALOG_VERSION ?= 4e2dc4d8d34e504c94298724d1b0e3eaadc815b6 |
Deepak K Gangadhar | 0e51ec9 | 2021-03-23 01:51:54 -0500 | [diff] [blame] | 7 | #IMA_CATALOG_SITE ?= $(call github,open-power,ima-catalog,$(IMA_CATALOG_VERSION)) |
| 8 | IMA_CATALOG_SITE ?= git@github.ibm.com:open-power/ima-catalog.git |
| 9 | IMA_CATALOG_SITE_METHOD ?= git |
Matt Ploetz | dfd5a47 | 2017-01-19 13:13:55 -0600 | [diff] [blame] | 10 | IMA_CATALOG_LICENSE = Apache-2.0 |
| 11 | IMA_CATALOG_DEPENDENCIES = host-dtc host-xz |
| 12 | |
Klaus Heinrich Kiwi | d255124 | 2020-07-16 16:59:04 -0300 | [diff] [blame] | 13 | ifeq ($(BR2_PACKAGE_OPENPOWER_PNOR_P10),y) |
| 14 | IMA_CATALOG_FILENAME=$(BR2_IMA_CATALOG_P10_FILENAME) |
| 15 | else |
| 16 | IMA_CATALOG_FILENAME=$(BR2_IMA_CATALOG_FILENAME) |
| 17 | endif |
| 18 | |
Matt Ploetz | dfd5a47 | 2017-01-19 13:13:55 -0600 | [diff] [blame] | 19 | IMA_CATALOG_INSTALL_IMAGES = YES |
| 20 | IMA_CATALOG_INSTALL_TARGET = NO |
| 21 | |
| 22 | define IMA_CATALOG_BUILD_CMDS |
| 23 | cd $(@D) && ./build.sh $(HOST_DIR)/usr/bin/ $(BR2_IMA_CATALOG_DTS) |
| 24 | endef |
| 25 | |
| 26 | define IMA_CATALOG_INSTALL_IMAGES_CMDS |
Klaus Heinrich Kiwi | d255124 | 2020-07-16 16:59:04 -0300 | [diff] [blame] | 27 | $(INSTALL) $(@D)/$(IMA_CATALOG_FILENAME) $(BINARIES_DIR) |
Matt Ploetz | dfd5a47 | 2017-01-19 13:13:55 -0600 | [diff] [blame] | 28 | endef |
| 29 | |
| 30 | $(eval $(generic-package)) |