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 | |
Bill Hoffa | a9b56ff | 2017-10-04 21:19:42 -0500 | [diff] [blame] | 8 | HOSTBOOT_BINARIES_VERSION ?= ed06137f062d6a716d2a89d852aac984036db256 |
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 | |
Dean Sanner | c277680 | 2017-03-17 07:45:41 -0500 | [diff] [blame] | 17 | #for P9 the hw_ref image is changing to not be padded with ECC. However |
| 18 | #all the other op-build files use the end name result. Thus replace ".hdr.bin.ecc" |
| 19 | #with ".bin" |
| 20 | BIN_FILENAME ?= $(if $(BR2_OPENPOWER_POWER9),$(subst hdr.bin.ecc,bin,$(BR2_HOSTBOOT_BINARY_WINK_FILENAME)),$(BR2_HOSTBOOT_BINARY_WINK_FILENAME)) |
| 21 | |
Bill Hoffa | 5f93f1d | 2014-06-26 21:02:48 -0500 | [diff] [blame] | 22 | define HOSTBOOT_BINARIES_INSTALL_IMAGES_CMDS |
| 23 | $(INSTALL) -D $(@D)/cvpd.bin $(STAGING_DIR)/hostboot_binaries/cvpd.bin |
Dean Sanner | c277680 | 2017-03-17 07:45:41 -0500 | [diff] [blame] | 24 | $(INSTALL) -D $(@D)/$(BIN_FILENAME) $(STAGING_DIR)/hostboot_binaries/ |
Brian Silver | 131189b | 2014-11-10 08:11:22 -0600 | [diff] [blame] | 25 | $(INSTALL) -D $(@D)/$(BR2_HOSTBOOT_BINARY_SBEC_FILENAME) $(STAGING_DIR)/hostboot_binaries/ |
| 26 | $(INSTALL) -D $(@D)/$(BR2_HOSTBOOT_BINARY_SBE_FILENAME) $(STAGING_DIR)/hostboot_binaries/ |
Bill Hoffa | 5f93f1d | 2014-06-26 21:02:48 -0500 | [diff] [blame] | 27 | endef |
| 28 | |
| 29 | $(eval $(generic-package)) |