Bill Hoffa | 5f93f1d | 2014-06-26 21:02:48 -0500 | [diff] [blame] | 1 | ################################################################################ |
| 2 | # |
| 3 | # hostboot_binaries |
| 4 | # |
| 5 | ################################################################################ |
| 6 | |
William Hoffa | 9ee6207 | 2017-10-04 21:39:46 -0500 | [diff] [blame] | 7 | |
Stewart Smith | 062ec2d | 2018-04-29 20:24:20 -0500 | [diff] [blame] | 8 | HOSTBOOT_BINARIES_VERSION = $(call qstrip,$(BR2_HOSTBOOT_BINARIES_VERSION)) |
Nick Bofferding | 815ac66 | 2014-11-07 14:26:55 -0600 | [diff] [blame] | 9 | HOSTBOOT_BINARIES_SITE ?= $(call github,open-power,hostboot-binaries,$(HOSTBOOT_BINARIES_VERSION)) |
Bill Hoffa | 7ad6a87 | 2017-03-29 17:53:41 -0500 | [diff] [blame] | 10 | |
Bill Hoffa | 5f93f1d | 2014-06-26 21:02:48 -0500 | [diff] [blame] | 11 | HOSTBOOT_BINARIES_LICENSE = Apache-2.0 |
Stewart Smith | b16ba5b | 2017-01-10 12:55:55 +1100 | [diff] [blame] | 12 | HOSTBOOT_BINARIES_LICENSE_FILES = LICENSE |
Bill Hoffa | 5f93f1d | 2014-06-26 21:02:48 -0500 | [diff] [blame] | 13 | |
| 14 | HOSTBOOT_BINARIES_INSTALL_IMAGES = YES |
| 15 | HOSTBOOT_BINARIES_INSTALL_TARGET = NO |
| 16 | |
Nick Bofferding | 40f8040 | 2019-09-10 18:07:04 -0500 | [diff] [blame] | 17 | # Creating Install Commands specific to P9 |
Mike Baiocchi | 909ca46 | 2019-05-09 08:51:35 -0500 | [diff] [blame] | 18 | # -- P9 does not need the SBE files ('sbe' package is used in P9) |
| 19 | # -- P9 uses the 'hcode' package to build the BR2_HOSTBOOT_BINARY_WINK_FILENAME |
| 20 | |
| 21 | ################################### |
Mike Baiocchi | 909ca46 | 2019-05-09 08:51:35 -0500 | [diff] [blame] | 22 | # P9: |
| 23 | ifeq ($(BR2_OPENPOWER_POWER9),y) |
| 24 | |
Richard J. Knight | 3f0e29c | 2017-10-13 10:39:01 -0500 | [diff] [blame] | 25 | NIMBUS_RING_FILE=p9n.hw.rings.bin |
| 26 | NIMBUS_RING_OVERLAYS_FILE=p9n.hw.overlays.bin |
| 27 | |
Mike Baiocchi | 3652aea | 2019-05-07 10:13:21 -0500 | [diff] [blame] | 28 | AXONE_RING_FILE=p9a.hw.rings.bin |
| 29 | AXONE_RING_OVERLAYS_FILE=p9a.hw.overlays.bin |
| 30 | |
Dean Sanner | c277680 | 2017-03-17 07:45:41 -0500 | [diff] [blame] | 31 | |
Bill Hoffa | 5f93f1d | 2014-06-26 21:02:48 -0500 | [diff] [blame] | 32 | define HOSTBOOT_BINARIES_INSTALL_IMAGES_CMDS |
| 33 | $(INSTALL) -D $(@D)/cvpd.bin $(STAGING_DIR)/hostboot_binaries/cvpd.bin |
Bill Hoffa | fbd4fbf | 2017-10-10 20:41:22 -0500 | [diff] [blame] | 34 | $(INSTALL) -D $(@D)/gpu_gpe1.bin $(STAGING_DIR)/hostboot_binaries/gpu_gpe1.bin |
Mike Baiocchi | 909ca46 | 2019-05-09 08:51:35 -0500 | [diff] [blame] | 35 | $(INSTALL) -D $(@D)/$(BR2_HOSTBOOT_BINARY_IONV_FILENAME) $(STAGING_DIR)/hostboot_binaries/ |
| 36 | $(INSTALL) -D $(@D)/$(BR2_HOSTBOOT_BINARY_SBEC_FILENAME) $(STAGING_DIR)/hostboot_binaries/ |
Richard J. Knight | 3f0e29c | 2017-10-13 10:39:01 -0500 | [diff] [blame] | 37 | $(INSTALL) -D $(@D)/$(NIMBUS_RING_FILE) $(STAGING_DIR)/hostboot_binaries/ |
| 38 | $(INSTALL) -D $(@D)/$(NIMBUS_RING_OVERLAYS_FILE) $(STAGING_DIR)/hostboot_binaries/ |
Mike Baiocchi | 3652aea | 2019-05-07 10:13:21 -0500 | [diff] [blame] | 39 | $(INSTALL) -D $(@D)/$(AXONE_RING_FILE) $(STAGING_DIR)/hostboot_binaries/ |
| 40 | $(INSTALL) -D $(@D)/$(AXONE_RING_OVERLAYS_FILE) $(STAGING_DIR)/hostboot_binaries/ |
Bill Hoffa | 5f93f1d | 2014-06-26 21:02:48 -0500 | [diff] [blame] | 41 | endef |
Mike Baiocchi | 909ca46 | 2019-05-09 08:51:35 -0500 | [diff] [blame] | 42 | endif |
| 43 | |
Bill Hoffa | 5f93f1d | 2014-06-26 21:02:48 -0500 | [diff] [blame] | 44 | |
| 45 | $(eval $(generic-package)) |